1. /*
  2. * @(#)MenuEvent.java 1.10 01/11/29
  3. *
  4. * Copyright 2002 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 appropriate
  17. * for short term storage or RMI between applications running the same
  18. * version of Swing. A future release of Swing will provide support for
  19. * long term persistence.
  20. *
  21. * @version 1.10 11/29/01
  22. * @author Georges Saab
  23. * @author David Karlton
  24. */
  25. public class MenuEvent extends EventObject {
  26. /**
  27. * Constructs a MenuEvent object.
  28. *
  29. * @param source the Object that originated the event
  30. * (typically <code>this</code>)
  31. */
  32. public MenuEvent(Object source) {
  33. super(source);
  34. }
  35. }