| 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 | Provides one interface and many abstract classes that
Swing uses to provide its pluggable look-and-feel capabilities. | 
| 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.multi | Provides user interface objects that combine two or more look and feels. | 
| Constructor and Description | 
|---|
| DefaultCellEditor(JComboBox comboBox)Constructs a  DefaultCellEditorobject that uses a
 combo box. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract boolean | ComboBoxUI. isFocusTraversable(JComboBox c)Determine whether or not the combo box itself is traversable | 
| abstract boolean | ComboBoxUI. isPopupVisible(JComboBox c)Determine the visibility of the popup | 
| abstract void | ComboBoxUI. setPopupVisible(JComboBox c,
               boolean v)Set the visibility of the popup | 
| Modifier and Type | Field and Description | 
|---|---|
| protected JComboBox | BasicComboPopup. comboBox | 
| protected JComboBox | BasicComboBoxUI. comboBox | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | BasicComboBoxUI. isFocusTraversable(JComboBox c)Determines if the JComboBox is focus traversable. | 
| boolean | BasicComboBoxUI. isPopupVisible(JComboBox c)Tells if the popup is visible or not. | 
| void | BasicComboBoxUI. setPopupVisible(JComboBox c,
               boolean v)Hides the popup. | 
| Constructor and Description | 
|---|
| BasicComboPopup(JComboBox combo) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected JComboBox | MetalComboBoxButton. comboBox | 
| Modifier and Type | Method and Description | 
|---|---|
| JComboBox | MetalComboBoxButton. getComboBox() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MetalComboBoxButton. setComboBox(JComboBox cb) | 
| Constructor and Description | 
|---|
| MetalComboBoxButton(JComboBox cb,
                   Icon i,
                   boolean onlyIcon,
                   CellRendererPane pane,
                   JList list) | 
| MetalComboBoxButton(JComboBox cb,
                   Icon i,
                   CellRendererPane pane,
                   JList list) | 
| MetalComboPopup(JComboBox cBox)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | MultiComboBoxUI. isFocusTraversable(JComboBox a)Invokes the  isFocusTraversablemethod on each UI handled by this object. | 
| boolean | MultiComboBoxUI. isPopupVisible(JComboBox a)Invokes the  isPopupVisiblemethod on each UI handled by this object. | 
| void | MultiComboBoxUI. setPopupVisible(JComboBox a,
               boolean b)Invokes the  setPopupVisiblemethod on each UI handled by this object. | 
 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.