| 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.plaf.basic | 
 Provides user interface objects built according to the
Basic look and feel. 
 | 
| javax.swing.tree | 
 Provides classes and interfaces for dealing with
 
javax.swing.JTree. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
JFormattedTextField
JFormattedTextField extends JTextField adding
 support for formatting arbitrary values, as well as retrieving a particular
 object once the user has edited the text. | 
class  | 
JPasswordField
JPasswordField is 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. | 
| Constructor and Description | 
|---|
DefaultCellEditor(JTextField textField)
Constructs a  
DefaultCellEditor that uses a text field. | 
| Modifier and Type | Field and Description | 
|---|---|
protected JTextField | 
BasicComboBoxEditor.editor  | 
| Modifier and Type | Method and Description | 
|---|---|
protected JTextField | 
BasicComboBoxEditor.createEditorComponent()
Creates the internal editor component. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DefaultTreeCellEditor.DefaultTextField
TextField used 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, 2020, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.