View RSS Feed

Java AWT

GridLayout

Rate this Entry
by , 03-04-2012 at 04:23 PM (839 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:

Name:  1.JPG
Views: 210
Size:  20.3 KB
GridLayout

Submit "GridLayout" to Facebook Submit "GridLayout" to Digg Submit "GridLayout" to del.icio.us Submit "GridLayout" to StumbleUpon Submit "GridLayout" to Google

Tags: gridlayout Add / Edit Tags
Categories
Layout

Comments