Calculates the preferred size dimensions for the specified container, given the components it contains.
Parameters:
parent
Returns: the preferred dimension for the container
See also: minimumLayoutSize
Diagram: LayoutManager