public abstract Dimension preferredLayoutSize (Container parent)

Calculates the preferred size dimensions for the specified container, given the components it contains.

Parameters:
parent    the container to be laid out

Returns:  the preferred dimension for the container

See also:
minimumLayoutSize