KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > event > PopupMenuEvent


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
9 import java.util.EventObject JavaDoc;
10
11 /**
12  * PopupMenuEvent only contains the source of the event which is the JPoupMenu
13  * sending the event
14  * <p>
15  * <strong>Warning:</strong>
16  * Serialized objects of this class will not be compatible with
17  * future Swing releases. The current serialization support is
18  * appropriate for short term storage or RMI between applications running
19  * the same version of Swing. As of 1.4, support for long term storage
20  * of all JavaBeans<sup><font size="-2">TM</font></sup>
21  * has been added to the <code>java.beans</code> package.
22  * Please see {@link java.beans.XMLEncoder}.
23  *
24  * @version 1.13 12/19/03
25  * @author Arnaud Weber
26  */

27 public class PopupMenuEvent extends EventObject JavaDoc {
28     /**
29      * Constructs a PopupMenuEvent object.
30      *
31      * @param source the Object that originated the event
32      * (typically <code>this</code>)
33      */

34     public PopupMenuEvent(Object JavaDoc source) {
35         super(source);
36     }
37 }
38
Popular Tags