Class JToolbarButton

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

public class JToolbarButton extends JButton
This class represents the buttons used in toolbars.
See Also:
  • Constructor Details

    • JToolbarButton

      public JToolbarButton()
      Creates a new toolbar button.
    • JToolbarButton

      public JToolbarButton(String txt)
      Creates a new toolbar button.
      Parameters:
      txt - The button text.
  • Method Details

    • initialize

      protected void initialize()
      Initializes the button.