Grid
- The GridLayout manager lets you place components based on a row and
column number.
- When you create the GridLayout, you specify the number of rows and columns.
- As component are added, they are placed in the next empty cell (row/column).
- Cells are filled from left to right and top to bottom.
- The entire drawing area is evenly divided into the number of specified
rows and columns.
- When a component is added, it is sized to fill up the cell (so each
component is about the same size
- Here is an example using GridLayout: GridGUI.