| 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.plaf.metal | Provides user interface objects built according to
the Java look and feel (once codenamed Metal),
which is the default look and feel. | 
| javax.swing.plaf.synth | 
      Synth is a skinnable look and feel in which all painting is
      delegated. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ComboBoxEditor | JComboBox. editorThis protected field is implementation specific. | 
| Modifier and Type | Method and Description | 
|---|---|
| ComboBoxEditor | JComboBox. getEditor()Returns the editor used to paint and edit the selected item in the
  JComboBoxfield. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | JComboBox. configureEditor(ComboBoxEditor anEditor,
               Object anItem)Initializes the editor with the specified item. | 
| void | JComboBox. setEditor(ComboBoxEditor anEditor)Sets the editor used to paint and edit the selected item in the
  JComboBoxfield. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BasicComboBoxEditorThe default editor for editable combo boxes. | 
| static class  | BasicComboBoxEditor.UIResourceA subclass of BasicComboBoxEditor that implements UIResource. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ComboBoxEditor | BasicComboBoxUI. createEditor()Creates the default editor that will be used in editable combo boxes. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MetalComboBoxEditorThe default editor for Metal editable combo boxes | 
| static class  | MetalComboBoxEditor.UIResourceA subclass of BasicComboBoxEditor that implements UIResource. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ComboBoxEditor | MetalComboBoxUI. createEditor() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ComboBoxEditor | SynthComboBoxUI. createEditor()Creates the default editor that will be used in editable combo boxes. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.