javax.swing
Class GridLayout
- All Implemented Interfaces:
- LayoutManager, Serializable
java.lang.Objectjava.awt.GridLayout
GridLayout Constructor
GridLayout()
Creates a grid layout with a default of one column per component, in a single row.
GridLayout(int rows, int cols)
Creates a grid layout with the specified number of rows and columns.
GridLayout(int rows, int cols, int hgap, int vgap)
Creates a grid layout with the specified number of rows and columns.