TextField.getPreferredSize
Class Overview | Class Members |
This Package |
All Packages
public Dimension getPreferredSize( int columns )
Parameters
- columns
- the number of columns
in this text field.
Returns
the preferred dimensions for
displaying this text field.
Description
Gets the preferred size of this text field
with the specified number of columns.
public Dimension getPreferredSize()
Returns
the preferred dimensions for
displaying this text field.
Description
Gets the preferred size of this text field.
Overrides
getPreferredSize in class Component