GridLayout.layoutContainer

GridLayout.layoutContainer

Class Overview | Class Members | This Package | All Packages

Syntax
public void layoutContainer( Container parent )
Parameters
target
the container in which to do the layout.
Description
Lays out the specified container using this layout.

This method reshapes the components in the specified target container in order to satisfy the constraints of the GridLayout object.

The grid layout manager determines the size of individual components by dividing the free space in the container into equal-sized portions according to the number of rows and columns in the layout. The container's free space equals the container's size minus any insets and any specified horizontal or vertical gap. All components in a grid layout are given the same size.

See Also
Container, doLayout