by, 03-04-2012 at 04:23 PM (811 Views)
All components are arranged by the Grid layout manager. This arrangement is done in grid of columns and rows. One of the given options may be selected.
- Number of columns & rows shall be specified.
- Only rows are specified and no. of columns will be determined by the layout manager.
- Just columns are specified and no. of rows will be determined by layout manager.
Objects present in the layout manager grid have equal sizes which are based at the gridís largest components. Grid layout manager can be implemented. Then, window can be resized so that to see what are the effects and how resizing of components is done.
Grid layout implementation is shown as following: