| Package | Description | 
|---|---|
| javax.swing.text | 
 Provides classes and interfaces that deal with editable
and noneditable text components. 
 | 
| javax.swing.text.html | 
 Provides the class  
HTMLEditorKit and supporting classes
for creating HTML text editors. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DefaultStyledDocument
A document that can be marked up with character and paragraph
 styles in a manner similar to the Rich Text Format. 
 | 
class  | 
PlainDocument
A plain document that maintains no character attributes. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
HTMLDocument
A document that models HTML. 
 | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates.  All rights reserved.