Class SmallButton

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

public class SmallButton extends JButton implements MouseListener
A better button class that has nice roll over effects.

This class is borrowed (quite heavily, but with modifications) from the "Swing: Second Edition" book by Matthew Robinson and Pavel Vorobeiv. An excellent book on Swing.

See Also:
  • Field Details

    • m_inactive

      protected Border m_inactive
    • m_border

      protected Border m_border
    • m_lowered

      protected Border m_lowered
    • m_raised

      protected Border m_raised
    • m_ins

      protected Insets m_ins
  • Constructor Details

    • SmallButton

      public SmallButton()
    • SmallButton

      public SmallButton(Action act)
  • Method Details