1. /*
  2. * @(#)MenuEvent.java 1.15 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.swing.event;
  8. import java.util.EventObject;
  9. /**
  10. * MenuEvent is used to notify interested parties that
  11. * the menu which is the event source has been posted,
  12. * selected, or canceled.
  13. * <p>
  14. * <strong>Warning:</strong>
  15. * Serialized objects of this class will not be compatible with
  16. * future Swing releases. The current serialization support is
  17. * appropriate for short term storage or RMI between applications running
  18. * the same version of Swing. As of 1.4, support for long term storage
  19. * of all JavaBeans<sup><font size="-2">TM</font></sup>
  20. * has been added to the <code>java.beans</code> package.
  21. * Please see {@link java.beans.XMLEncoder}.
  22. *
  23. * @version 1.15 12/19/03
  24. * @author Georges Saab
  25. * @author David Karlton
  26. */
  27. public class MenuEvent extends EventObject {
  28. /**
  29. * Constructs a MenuEvent object.
  30. *
  31. * @param source the Object that originated the event
  32. * (typically <code>this</code>)
  33. */
  34. public MenuEvent(Object source) {
  35. super(source);
  36. }
  37. }