Class DropDownMenuButton

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

public class DropDownMenuButton extends JButton
Button with drop down menu.
See Also:

Module: swing-util-api

To use this in your app, include the following dependency in your POM:

  • Constructor Details

    • DropDownMenuButton

      public DropDownMenuButton(AbstractAction action)
      Creates a new DropDownMenuButton object.
      action - The action that this button represents.
    • DropDownMenuButton

      public DropDownMenuButton(JPopupMenu popupMenu)
    • DropDownMenuButton

      public DropDownMenuButton()
  • Method Details