Layout Manager | Description | Example |
BorderLayout |
Components divided into regions north, south, east and west. |
Central work area with peripheral button |
CardLayout |
Controls visibility of a number of components - can move an item to the top or bottom of a pile. |
A stack of tabbed folders. A spiral bound note-pad. |
FlowLayout |
Fills container from left to right and from top to bottom. |
Simple layouts with similar sized components. |
GridLayout | Programmers place components within a grid, all cells are the same size. |
A Calendar |
GridBagLayout | Complicated and flexible placement of components in a grid |
Most form based user interfaces. |