Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
IN THIS CHAPTER
Every container, by default, has a layout manager associated with it. The layout managers have a singular responsibility: to determine where each new component is placed when it is added to the container. Technically, a layout manager is an object that implements the LayoutManager interface. Each container has a default layout manager assigned to it and an accessor and mutator to access or change the selected layout manager. Layout managers give you the following features: