The Document Model
Home ] Up ] JTextComponent ] JTextField ] JPasswordField ] JTextArea ] [ The Document Model ] JTextArea Scrolling ] JTextArea Editing ]

 

Tracking Text Changes
Input Validation
JFormattedTextField

 

The model (remember MVC?) for all text components is the Document interface.  Of course, that means that, in order to be a text component model, a class must implement the Document interface.

There are several document models which cover both plain text and formatted text, such as HTML.

 

This page was last modified on 02 October, 2007