Class JComboMenu

All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, MenuElement, SwingConstants

public class JComboMenu extends JMenu
Menu that displays a list of multiple choices
Since:
31.1.4
See Also:
  • Constructor Details

    • JComboMenu

      public JComboMenu(String text)
    • JComboMenu

      public JComboMenu(Item... items)
    • JComboMenu

      public JComboMenu(String text, Item... items)
  • Method Details

    • setItems

      public void setItems(Item[] items)
    • getSelectedItem

      public Item getSelectedItem()
    • setSelectedItem

      public void setSelectedItem(Item item)