TOC PREV NEXT INDEX



TextArea (JTextArea)


A JTextArea is a multi-line entry field for text input. It can also be used as a multi-line label. In its properties page, the user can specify the default text to appear and the number of rows tall and columns wide the area should be. The size of tabs can be set. The JTextArea can be set read-only by disabling the 'Editable' checkbox. The JTextArea can optionally wrap long lines to the next line. If this line wrap is enabled, a word wrap feature can be selected, specifying that the text should be wrapped at word boundaries, rather than at any arbitrary character.

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


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