GridLayout « java.awt « Java by API






1.new GridLayout(int rows, int cols)
2.new GridLayout(int rows, int cols, int hgap, int vgap)