next up previous
Next: Document significant methods Up: Text In Swing Previous: Other JTextComponent significant methods

Document handling

Swing needs to respond some special types of events to handle text changes and formatting -- it does this with a class named Document.

Note: In the Swing MVC architecture, the Document class serves as a model.

It contains no capability for user interface.

These functions originate with the users of this class, such as JTextField and JTextArea.

The Document class:



 
next up previous
Next: Document significant methods Up: Text In Swing Previous: Other JTextComponent significant methods
Dave Marshall
4/14/1999