| Package | Description | 
|---|---|
| javax.swing | Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. | 
| javax.swing.text | Provides classes and interfaces that deal with editable
and noneditable text components. | 
| javax.swing.tree | Provides classes and interfaces for dealing with
 javax.swing.JTree. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JEditorPaneA text component to edit various kinds of content. | 
| class  | JFormattedTextFieldJFormattedTextFieldextendsJTextFieldadding
 support for formatting arbitrary values, as well as retrieving a particular
 object once the user has edited the text. | 
| class  | JLayer<V extends Component>JLayeris a universal decorator for Swing components
 which enables you to implement various advanced painting effects as well as
 receive notifications of allAWTEvents generated within its borders. | 
| class  | JList<E>A component that displays a list of objects and allows the user to select
 one or more items. | 
| class  | JPasswordFieldJPasswordFieldis a lightweight component that allows
 the editing of a single line of text where the view indicates
 something was typed, but does not show the original characters. | 
| class  | JTableThe  JTableis used to display and edit regular two-dimensional tables
 of cells. | 
| class  | JTextAreaA  JTextAreais a multi-line area that displays plain text. | 
| class  | JTextFieldJTextFieldis a lightweight component that allows the editing
 of a single line of text. | 
| class  | JTextPaneA text component that can be marked up with attributes that are
 represented graphically. | 
| class  | JTree | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JTextComponentJTextComponentis the base class for swing text
 components. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultTreeCellEditor.DefaultTextFieldTextFieldused when no editor is supplied. | 
 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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.