previous |
start |
next
Grid Layout
- Lays out components in rows and columns
- All components have the same size
- Add components left to right (top row first, then second row,
etc.)
- panel.setLayout(new GridLayout(4, 3));
panel.add(button7);
panel.add(button8);
panel.add(button9);
panel.add(button6);

previous |
start |
next