TOC PREV NEXT INDEX



TextField (JTextField)


A JTextField is a single line entry field for text input. In its properties page, the user can specify the default text to appear and the number of columns wide the field should be. The text can be left, right or center justified. The JTextField can be set read-only by disabling the 'Editable' checkbox.

A JTextField will generate a CaretEvent whenever the user modifies the field's text, or moves the cursor via the mouse or keyboard.

A JTextField will generate an ActionEvent whenever the user presses the 'Enter' key while the field has the focus.


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX