This chapter tells you how to use layout managers, which are objects that control the size and position of components in a container. It also tells you how to use absolute positioning (no layout manager) and presents an example of how to write a custom layout manager. How-to information for each of the commonly used layout managers is in Chapter 8, Layout Manager Reference (page 457).
The chapter contains the following sections:
A Visual Guide to Layout Managers shows examples of the standard layout managers and points to each one's how-to section.
Using Layout Managers includes how to set the layout manager, add components to a container, ...