Package smile.swing

Class Button

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

public class Button extends JButton
Action initialized JButton. If the button has an icon, the text label won't show on button.
See Also:
  • Constructor Details

    • Button

      public Button(Action action)
      Constructor.
      Parameters:
      action - the Action used to specify the new button.