1. /*
  2. * @(#)WindowsButtonListener.java 1.11 00/02/02
  3. *
  4. * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package com.sun.java.swing.plaf.windows;
  11. import java.awt.*;
  12. import java.awt.event.*;
  13. import javax.swing.*;
  14. import javax.swing.plaf.basic.*;
  15. import javax.swing.event.*;
  16. /**
  17. * Button Listener
  18. * <p>
  19. * <strong>Warning:</strong>
  20. * Serialized objects of this class will not be compatible with
  21. * future Swing releases. The current serialization support is appropriate
  22. * for short term storage or RMI between applications running the same
  23. * version of Swing. A future release of Swing will provide support for
  24. * long term persistence.
  25. *
  26. * @version 1.2 11/03/97
  27. * @author Rich Schiavi
  28. */
  29. public class WindowsButtonListener extends BasicButtonListener
  30. {
  31. public WindowsButtonListener(AbstractButton b ) {
  32. super(b);
  33. }
  34. /*
  35. // Here for rollover purposes
  36. public void mouseEntered(MouseEvent e) {
  37. AbstractButton button = (AbstractButton)e.getSource();
  38. button.getModel().setRollover(true);
  39. }
  40. // Here for rollover purposes
  41. public void mouseExited(MouseEvent e) {
  42. AbstractButton button = (AbstractButton)e.getSource();
  43. button.getModel().setRollover(false);
  44. }
  45. */
  46. }