TextField.TextField
Class Overview | Class Members |
This Package |
All Packages
public TextField()
Description
Constructs a new text field.
public TextField( String text )
Parameters
- text
- the text to be displayed.
Description
Constructs a new text field initialized with the specified text.
public TextField( int columns )
Parameters
- columns
- the number of columns
Description
Constructs a new empty TextField with the specified number of columns.
public TextField( String text,
int columns )
Parameters
- text
- the text to be displayed.
- columns
- the number of characters.
Description
Constructs a new text field initialized with the specified text
to be displayed, and wide enough to hold the specified
number of characters.