Chapter 8. Layout Manager Reference

Each of the following how-to sections describes how to use a particular layout manager—an object that controls the size and position of components in a container. These sections are organized alphabetically for quick reference. To see pictures of typical uses of each layout manager, you can refer to A Visual Guide to Layout Managers (page 88) in Chapter 4.

All of these sections assume that you're familiar with layout management concepts. These prerequisites are covered in Chapter 4, Laying Out Components within a Container (page 87). Chapter 4 also includes instructions on how to use absolute positioning (no layout manager) and an example of writing ...

Get JFC Swing Tutorial, The: A Guide to Constructing GUIs, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.