You can use the visual editor for Java™ to lay out Swing components using GridLayout.
About this task
The layout manager java.awt.GridLayout lays out components
in a grid of equal-sized rectangles in rows and columns. You can set
the number of rows or columns that a GridLayout contains. As you add
components, they are added in order based on the componentOrientation
property of the container that is using GridLayout (RIGHT_TO_LEFT
or LEFT_TO_RIGHT).
