The value argument can be either a JTextField, or a String. If the value argument is a string it is treated as though it were passed in as the text attribute.
See also: JComponent
Declared in JTextField
- action <Action> the Action instance connected with this ActionEvent source
- columns <int> the number of columns preferred for display
- horizontalAlignment <int> Set the field alignment to LEFT, CENTER, RIGHT, LEADING (the default) or TRAILING
- scrollOffset <int> scrollOffset