< prev index next >

src/java.desktop/share/classes/javax/swing/JPopupMenu.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  50  * It is also used for "pull-right" menu that appears when the
  51  * selects a menu item that activates it. Finally, a <code>JPopupMenu</code>
  52  * can also be used anywhere else you want a menu to appear.  For
  53  * example, when the user right-clicks in a specified area.
  54  * <p>
  55  * For information and examples of using popup menus, see
  56  * <a
  57  href="https://docs.oracle.com/javase/tutorial/uiswing/components/menu.html">How to Use Menus</a>
  58  * in <em>The Java Tutorial.</em>
  59  * <p>
  60  * <strong>Warning:</strong> Swing is not thread safe. For more
  61  * information see <a
  62  * href="package-summary.html#threading">Swing's Threading
  63  * Policy</a>.
  64  * <p>
  65  * <strong>Warning:</strong>
  66  * Serialized objects of this class will not be compatible with
  67  * future Swing releases. The current serialization support is
  68  * appropriate for short term storage or RMI between applications running
  69  * the same version of Swing.  As of 1.4, support for long term storage
  70  * of all JavaBeans&trade;
  71  * has been added to the <code>java.beans</code> package.
  72  * Please see {@link java.beans.XMLEncoder}.
  73  *
  74  * @author Georges Saab
  75  * @author David Karlton
  76  * @author Arnaud Weber
  77  * @since 1.2
  78  */
  79 @JavaBean(defaultProperty = "UI", description = "A small window that pops up and displays a series of choices.")
  80 @SwingContainer(false)
  81 @SuppressWarnings("serial")
  82 public class JPopupMenu extends JComponent implements Accessible,MenuElement {
  83 
  84     /**
  85      * @see #getUIClassID
  86      * @see #readObject
  87      */
  88     private static final String uiClassID = "PopupMenuUI";
  89 
  90     /**




  50  * It is also used for "pull-right" menu that appears when the
  51  * selects a menu item that activates it. Finally, a <code>JPopupMenu</code>
  52  * can also be used anywhere else you want a menu to appear.  For
  53  * example, when the user right-clicks in a specified area.
  54  * <p>
  55  * For information and examples of using popup menus, see
  56  * <a
  57  href="https://docs.oracle.com/javase/tutorial/uiswing/components/menu.html">How to Use Menus</a>
  58  * in <em>The Java Tutorial.</em>
  59  * <p>
  60  * <strong>Warning:</strong> Swing is not thread safe. For more
  61  * information see <a
  62  * href="package-summary.html#threading">Swing's Threading
  63  * Policy</a>.
  64  * <p>
  65  * <strong>Warning:</strong>
  66  * Serialized objects of this class will not be compatible with
  67  * future Swing releases. The current serialization support is
  68  * appropriate for short term storage or RMI between applications running
  69  * the same version of Swing.  As of 1.4, support for long term storage
  70  * of all JavaBeans
  71  * has been added to the <code>java.beans</code> package.
  72  * Please see {@link java.beans.XMLEncoder}.
  73  *
  74  * @author Georges Saab
  75  * @author David Karlton
  76  * @author Arnaud Weber
  77  * @since 1.2
  78  */
  79 @JavaBean(defaultProperty = "UI", description = "A small window that pops up and displays a series of choices.")
  80 @SwingContainer(false)
  81 @SuppressWarnings("serial")
  82 public class JPopupMenu extends JComponent implements Accessible,MenuElement {
  83 
  84     /**
  85      * @see #getUIClassID
  86      * @see #readObject
  87      */
  88     private static final String uiClassID = "PopupMenuUI";
  89 
  90     /**


< prev index next >