List.getPreferredSize
Class Overview | Class Members |
This Package |
All Packages
public Dimension getPreferredSize( int rows )
Parameters
- rows
- number of rows in the list.
Returns
the preferred dimensions for displaying this scrolling list.
Description
Gets the preferred dimensions for a list with the specified
number of rows.
See Also
getPreferredSize
public Dimension getPreferredSize()
Returns
the preferred dimensions for displaying this scrolling list.
Description
Gets the preferred size of this scrolling list.
Overrides
getPreferredSize in class Component
See Also
getPreferredSize