Tutorial by Examples

A GridLayout is a layout manager which places components inside a grid with equal cell sizes. You can set the number of rows, columns, the horizontal gap and the vertical gap using the following methods: setRows(int rows) setColumns(int columns) setHgap(int hgap) setVgap(int vgap) or you ca...

Page 1 of 1