1. /*
  2. * @(#)PopupMenuEvent.java 1.13 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. * PopupMenuEvent only contains the source of the event which is the JPoupMenu
  11. * sending the event
  12. * <p>
  13. * <strong>Warning:</strong>
  14. * Serialized objects of this class will not be compatible with
  15. * future Swing releases. The current serialization support is
  16. * appropriate for short term storage or RMI between applications running
  17. * the same version of Swing. As of 1.4, support for long term storage
  18. * of all JavaBeans<sup><font size="-2">TM</font></sup>
  19. * has been added to the <code>java.beans</code> package.
  20. * Please see {@link java.beans.XMLEncoder}.
  21. *
  22. * @version 1.13 12/19/03
  23. * @author Arnaud Weber
  24. */
  25. public class PopupMenuEvent extends EventObject {
  26. /**
  27. * Constructs a PopupMenuEvent object.
  28. *
  29. * @param source the Object that originated the event
  30. * (typically <code>this</code>)
  31. */
  32. public PopupMenuEvent(Object source) {
  33. super(source);
  34. }
  35. }