BorderLayout.layoutContainer

BorderLayout.layoutContainer

Class Overview | Class Members | This Package | All Packages

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

This method actually reshapes the components in the specified container in order to satisfy the constraints of this BorderLayout object. The North and Southcomponents, if any, are placed at the top and bottom of the container, respectively. The West and East components are then placed on the left and right, respectively. Finally, the Center object is placed in any remaining space in the middle.

Most applications do not call this method directly. This method is called when a container calls its doLayout method.

See Also
Container, doLayout