BorderLayout.preferredLayoutSize

BorderLayout.preferredLayoutSize

Class Overview | Class Members | This Package | All Packages

Syntax
public Dimension preferredLayoutSize( Container target )
Parameters
target
the container in which to do the layout.
Returns
the preferred dimensions to lay out the subcomponents of the specified container.
Description
Determines the preferred size of the target container using this layout manager, based on the components in the container.

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

See Also
Container, minimumLayoutSize, getPreferredSize