Class IconButton

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

public class IconButton extends JButton
JButton with an Icon that performs an Action if you push it.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      A Serial Version UID.
      See Also:
  • Constructor Details

    • IconButton

      public IconButton(IconActionListener listener)
      Creates a button with an Icon that performs an action when you push it.
      Parameters:
      listener - The listener to add to the Icon