TextField.TextField

TextField.TextField

Class Overview | Class Members | This Package | All Packages

Syntax 1
public TextField()
Description
Constructs a new text field.



Syntax 2
public TextField( String text )
Parameters
text
the text to be displayed.
Description
Constructs a new text field initialized with the specified text.



Syntax 3
public TextField( int columns )
Parameters
columns
the number of columns
Description
Constructs a new empty TextField with the specified number of columns.



Syntax 4
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.