<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:56:31 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  JPopupMenu
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/JPopupMenu.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javax/swing/JPasswordField.AccessibleJPasswordField.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JPopupMenu.AccessibleJPopupMenu.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JPopupMenu.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;<A HREF="#inner_class_summary">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.JComponent">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javax.swing</FONT>
<BR>
Class  JPopupMenu</H2>
<PRE>
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--<A HREF="../../javax/swing/JComponent.html">javax.swing.JComponent</A>
                    |
                    +--<B>javax.swing.JPopupMenu</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../javax/swing/plaf/basic/BasicComboPopup.html">BasicComboPopup</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>JPopupMenu</B><DT>extends <A HREF="../../javax/swing/JComponent.html">JComponent</A><DT>implements <A HREF="../../javax/accessibility/Accessible.html">Accessible</A>, <A HREF="../../javax/swing/MenuElement.html">MenuElement</A></DL>

<P>
An implementation of a Popup Menu -- a small window which pops up
 and displays a series of choices. A JPopupMenu is used for the
 menu that appears when the user selects an item on the menu bar.
 It is also used for "pull-right" menu that appears when the
 selects a menu item that activates it. Finally, a JPopupMenu
 can also be used anywhere else you want a menu to appear -- for
 example, when the user right-clicks in a specified area.
 <p>
 For the keyboard keys used by this component in the standard Look and
 Feel (L&F) renditions, see the
 <a href="doc-files/Key-Index.html#JPopupMenu">JPopupMenu</a> key assignments.
 <p>
 <strong>Warning:</strong>
 Serialized objects of this class will not be compatible with 
 future Swing releases.  The current serialization support is appropriate
 for short term storage or RMI between applications running the same
 version of Swing.  A future release of Swing will provide support for
 long term persistence.
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../serialized-form.html#javax.swing.JPopupMenu">Serialized Form</A></DL>
<HR>

<P>
<!-- ======== INNER CLASS SUMMARY ======== -->

<A NAME="inner_class_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Inner Class Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.AccessibleJPopupMenu.html">JPopupMenu.AccessibleJPopupMenu</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.Separator.html">JPopupMenu.Separator</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A popupmenu-specific separator.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="inner_classes_inherited_from_class_javax.swing.JComponent"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Inner classes inherited from class javax.swing.<A HREF="../../javax/swing/JComponent.html">JComponent</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JComponent.AccessibleJComponent.html">JComponent.AccessibleJComponent</A></B></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class javax.swing.<A HREF="../../javax/swing/JComponent.html">JComponent</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../javax/swing/JComponent.html#accessibleContext">accessibleContext</A>,  
<A HREF="../../javax/swing/JComponent.html#listenerList">listenerList</A>,  
<A HREF="../../javax/swing/JComponent.html#TOOL_TIP_TEXT_KEY">TOOL_TIP_TEXT_KEY</A>,  
<A HREF="../../javax/swing/JComponent.html#ui">ui</A>,  
<A HREF="../../javax/swing/JComponent.html#UNDEFINED_CONDITION">UNDEFINED_CONDITION</A>,  
<A HREF="../../javax/swing/JComponent.html#WHEN_ANCESTOR_OF_FOCUSED_COMPONENT">WHEN_ANCESTOR_OF_FOCUSED_COMPONENT</A>,  
<A HREF="../../javax/swing/JComponent.html#WHEN_FOCUSED">WHEN_FOCUSED</A>,  
<A HREF="../../javax/swing/JComponent.html#WHEN_IN_FOCUSED_WINDOW">WHEN_IN_FOCUSED_WINDOW</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class java.awt.Component</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>BOTTOM_ALIGNMENT,  
CENTER_ALIGNMENT,  
LEFT_ALIGNMENT,  
RIGHT_ALIGNMENT,  
TOP_ALIGNMENT</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#JPopupMenu()">JPopupMenu</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a JPopupMenu without an "invoker".</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#JPopupMenu(java.lang.String)">JPopupMenu</A></B>(java.lang.String&nbsp;label)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a JPopupMenu with the specified title.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#add(javax.swing.Action)">add</A></B>(<A HREF="../../javax/swing/Action.html">Action</A>&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Append a new menuitem to the end of the menu which 
 dispatches the specified Action object.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#add(javax.swing.JMenuItem)">add</A></B>(<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A>&nbsp;menuItem)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the specified menu item to the end of this menu.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#add(java.lang.String)">add</A></B>(java.lang.String&nbsp;s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new menuitem with the specified text and appends
 it to the end of this menu.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#addPopupMenuListener(javax.swing.event.PopupMenuListener)">addPopupMenuListener</A></B>(<A HREF="../../javax/swing/event/PopupMenuListener.html">PopupMenuListener</A>&nbsp;l)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a PopupMenu listener

 param l  the PopupMenuListener to add</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#addSeparator()">addSeparator</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends a new separator at the end of the menu.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.beans.PropertyChangeListener</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#createActionChangeListener(javax.swing.JMenuItem)">createActionChangeListener</A></B>(<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A>&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#firePopupMenuCanceled()">firePopupMenuCanceled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies PopupMenuListeners that this popup menu is canceled</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#firePopupMenuWillBecomeInvisible()">firePopupMenuWillBecomeInvisible</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies PopupMenuListeners that this popup menu will become
 invisible</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#firePopupMenuWillBecomeVisible()">firePopupMenuWillBecomeVisible</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies PopupMenuListeners that this popup menu will become
 visible</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/accessibility/AccessibleContext.html">AccessibleContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#getAccessibleContext()">getAccessibleContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the AccessibleContext associated with this JComponent</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Component</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#getComponent()">getComponent</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Component</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#getComponentAtIndex(int)">getComponentAtIndex</A></B>(int&nbsp;i)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the component at the specified index.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#getComponentIndex(java.awt.Component)">getComponentIndex</A></B>(java.awt.Component&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the index of the specified component.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#getDefaultLightWeightPopupEnabled()">getDefaultLightWeightPopupEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the default value for the <b>lightWeightPopupEnabled</b> 
  property.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Component</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#getInvoker()">getInvoker</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the component which is the 'invoker' of this 
 popup menu.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#getLabel()">getLabel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the popup menu's label</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Insets</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#getMargin()">getMargin</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the margin between the popupmenu's border and
 its containees.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/SingleSelectionModel.html">SingleSelectionModel</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#getSelectionModel()">getSelectionModel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the model object that handles single selections.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/MenuElement.html">MenuElement</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#getSubElements()">getSubElements</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/plaf/PopupMenuUI.html">PopupMenuUI</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#getUI()">getUI</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the L&F object that renders this component.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#getUIClassID()">getUIClassID</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the L&F class that renders this component.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#insert(javax.swing.Action, int)">insert</A></B>(<A HREF="../../javax/swing/Action.html">Action</A>&nbsp;a,
       int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a menu item for the specified Action object at a given
 position.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#insert(java.awt.Component, int)">insert</A></B>(java.awt.Component&nbsp;component,
       int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the specified component into the menu at a given
 position.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#isBorderPainted()">isBorderPainted</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the border should be painted.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#isLightWeightPopupEnabled()">isLightWeightPopupEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if lightweight (all-Java) popups are in use,
 or false if heavyweight (native peer) popups are being used.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#isVisible()">isVisible</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the popupmenu is visible (currently
 being displayed).</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#menuSelectionChanged(boolean)">menuSelectionChanged</A></B>(boolean&nbsp;isIncluded)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#pack()">pack</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Layout the container so that it uses the minimum space
 needed to display its contents.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#paintBorder(java.awt.Graphics)">paintBorder</A></B>(java.awt.Graphics&nbsp;g)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paint the popup menu's border if BorderPainted property is true.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#paramString()">paramString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this JPopupMenu.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#processKeyEvent(java.awt.event.KeyEvent, javax.swing.MenuElement[], javax.swing.MenuSelectionManager)">processKeyEvent</A></B>(java.awt.event.KeyEvent&nbsp;e,
                <A HREF="../../javax/swing/MenuElement.html">MenuElement</A>[]&nbsp;path,
                <A HREF="../../javax/swing/MenuSelectionManager.html">MenuSelectionManager</A>&nbsp;manager)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#processMouseEvent(java.awt.event.MouseEvent, javax.swing.MenuElement[], javax.swing.MenuSelectionManager)">processMouseEvent</A></B>(java.awt.event.MouseEvent&nbsp;event,
                  <A HREF="../../javax/swing/MenuElement.html">MenuElement</A>[]&nbsp;path,
                  <A HREF="../../javax/swing/MenuSelectionManager.html">MenuSelectionManager</A>&nbsp;manager)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#remove(java.awt.Component)">remove</A></B>(java.awt.Component&nbsp;comp)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the specified component from this popup menu.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#removePopupMenuListener(javax.swing.event.PopupMenuListener)">removePopupMenuListener</A></B>(<A HREF="../../javax/swing/event/PopupMenuListener.html">PopupMenuListener</A>&nbsp;l)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a PopupMenu listener

 param l  the PopupMenuListener to remove</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#setBorderPainted(boolean)">setBorderPainted</A></B>(boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the border should be painted.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#setDefaultLightWeightPopupEnabled(boolean)">setDefaultLightWeightPopupEnabled</A></B>(boolean&nbsp;aFlag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the default value for the <b>lightWeightPopupEnabled</b>
  property.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#setInvoker(java.awt.Component)">setInvoker</A></B>(java.awt.Component&nbsp;invoker)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the invoker of this popupmenu -- the component in which
 the popupmenu menu is to be displayed.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#setLabel(java.lang.String)">setLabel</A></B>(java.lang.String&nbsp;label)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the popup menu's label.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#setLightWeightPopupEnabled(boolean)">setLightWeightPopupEnabled</A></B>(boolean&nbsp;aFlag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When displaying the popup, JPopupMenu choose to use a light weight popup if
 it fits.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#setLocation(int, int)">setLocation</A></B>(int&nbsp;x,
            int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the location of the upper left corner of the
 popup menu using x, y coordinates.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#setPopupSize(java.awt.Dimension)">setPopupSize</A></B>(java.awt.Dimension&nbsp;d)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the size of the Popup window using a Dimension object.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#setPopupSize(int, int)">setPopupSize</A></B>(int&nbsp;width,
             int&nbsp;height)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the size of the Popup window to the specified width and
 height.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#setSelected(java.awt.Component)">setSelected</A></B>(java.awt.Component&nbsp;sel)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the currently selected component,  This will result
 in a change to the selection model.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#setSelectionModel(javax.swing.SingleSelectionModel)">setSelectionModel</A></B>(<A HREF="../../javax/swing/SingleSelectionModel.html">SingleSelectionModel</A>&nbsp;model)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the model object to handle single selections.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#setUI(javax.swing.plaf.PopupMenuUI)">setUI</A></B>(<A HREF="../../javax/swing/plaf/PopupMenuUI.html">PopupMenuUI</A>&nbsp;ui)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the L&F object that renders this component.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#setVisible(boolean)">setVisible</A></B>(boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the visibility of the popup menu.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#show(java.awt.Component, int, int)">show</A></B>(java.awt.Component&nbsp;invoker,
     int&nbsp;x,
     int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Display the popupmenu at the position x,y in the coordinate
 space of the component invoker.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JPopupMenu.html#updateUI()">updateUI</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notification from the UIFactory that the L&F has changed.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.<A HREF="../../javax/swing/JComponent.html">JComponent</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../javax/swing/JComponent.html#addAncestorListener(javax.swing.event.AncestorListener)">addAncestorListener</A>, 
<A HREF="../../javax/swing/JComponent.html#addNotify()">addNotify</A>, 
<A HREF="../../javax/swing/JComponent.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A>, 
<A HREF="../../javax/swing/JComponent.html#addVetoableChangeListener(java.beans.VetoableChangeListener)">addVetoableChangeListener</A>, 
<A HREF="../../javax/swing/JComponent.html#computeVisibleRect(java.awt.Rectangle)">computeVisibleRect</A>, 
<A HREF="../../javax/swing/JComponent.html#contains(int, int)">contains</A>, 
<A HREF="../../javax/swing/JComponent.html#createToolTip()">createToolTip</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, boolean, boolean)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, byte, byte)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, char, char)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, double, double)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, float, float)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, int, int)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, long, long)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, short, short)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#fireVetoableChange(java.lang.String, java.lang.Object, java.lang.Object)">fireVetoableChange</A>, 
<A HREF="../../javax/swing/JComponent.html#getActionForKeyStroke(javax.swing.KeyStroke)">getActionForKeyStroke</A>, 
<A HREF="../../javax/swing/JComponent.html#getAlignmentX()">getAlignmentX</A>, 
<A HREF="../../javax/swing/JComponent.html#getAlignmentY()">getAlignmentY</A>, 
<A HREF="../../javax/swing/JComponent.html#getAutoscrolls()">getAutoscrolls</A>, 
<A HREF="../../javax/swing/JComponent.html#getBorder()">getBorder</A>, 
<A HREF="../../javax/swing/JComponent.html#getBounds(java.awt.Rectangle)">getBounds</A>, 
<A HREF="../../javax/swing/JComponent.html#getClientProperty(java.lang.Object)">getClientProperty</A>, 
<A HREF="../../javax/swing/JComponent.html#getComponentGraphics(java.awt.Graphics)">getComponentGraphics</A>, 
<A HREF="../../javax/swing/JComponent.html#getConditionForKeyStroke(javax.swing.KeyStroke)">getConditionForKeyStroke</A>, 
<A HREF="../../javax/swing/JComponent.html#getDebugGraphicsOptions()">getDebugGraphicsOptions</A>, 
<A HREF="../../javax/swing/JComponent.html#getGraphics()">getGraphics</A>, 
<A HREF="../../javax/swing/JComponent.html#getHeight()">getHeight</A>, 
<A HREF="../../javax/swing/JComponent.html#getInsets()">getInsets</A>, 
<A HREF="../../javax/swing/JComponent.html#getInsets(java.awt.Insets)">getInsets</A>, 
<A HREF="../../javax/swing/JComponent.html#getLocation(java.awt.Point)">getLocation</A>, 
<A HREF="../../javax/swing/JComponent.html#getMaximumSize()">getMaximumSize</A>, 
<A HREF="../../javax/swing/JComponent.html#getMinimumSize()">getMinimumSize</A>, 
<A HREF="../../javax/swing/JComponent.html#getNextFocusableComponent()">getNextFocusableComponent</A>, 
<A HREF="../../javax/swing/JComponent.html#getPreferredSize()">getPreferredSize</A>, 
<A HREF="../../javax/swing/JComponent.html#getRegisteredKeyStrokes()">getRegisteredKeyStrokes</A>, 
<A HREF="../../javax/swing/JComponent.html#getRootPane()">getRootPane</A>, 
<A HREF="../../javax/swing/JComponent.html#getSize(java.awt.Dimension)">getSize</A>, 
<A HREF="../../javax/swing/JComponent.html#getToolTipLocation(java.awt.event.MouseEvent)">getToolTipLocation</A>, 
<A HREF="../../javax/swing/JComponent.html#getToolTipText()">getToolTipText</A>, 
<A HREF="../../javax/swing/JComponent.html#getToolTipText(java.awt.event.MouseEvent)">getToolTipText</A>, 
<A HREF="../../javax/swing/JComponent.html#getTopLevelAncestor()">getTopLevelAncestor</A>, 
<A HREF="../../javax/swing/JComponent.html#getVisibleRect()">getVisibleRect</A>, 
<A HREF="../../javax/swing/JComponent.html#getWidth()">getWidth</A>, 
<A HREF="../../javax/swing/JComponent.html#getX()">getX</A>, 
<A HREF="../../javax/swing/JComponent.html#getY()">getY</A>, 
<A HREF="../../javax/swing/JComponent.html#grabFocus()">grabFocus</A>, 
<A HREF="../../javax/swing/JComponent.html#hasFocus()">hasFocus</A>, 
<A HREF="../../javax/swing/JComponent.html#isDoubleBuffered()">isDoubleBuffered</A>, 
<A HREF="../../javax/swing/JComponent.html#isFocusCycleRoot()">isFocusCycleRoot</A>, 
<A HREF="../../javax/swing/JComponent.html#isFocusTraversable()">isFocusTraversable</A>, 
<A HREF="../../javax/swing/JComponent.html#isLightweightComponent(java.awt.Component)">isLightweightComponent</A>, 
<A HREF="../../javax/swing/JComponent.html#isManagingFocus()">isManagingFocus</A>, 
<A HREF="../../javax/swing/JComponent.html#isOpaque()">isOpaque</A>, 
<A HREF="../../javax/swing/JComponent.html#isOptimizedDrawingEnabled()">isOptimizedDrawingEnabled</A>, 
<A HREF="../../javax/swing/JComponent.html#isPaintingTile()">isPaintingTile</A>, 
<A HREF="../../javax/swing/JComponent.html#isRequestFocusEnabled()">isRequestFocusEnabled</A>, 
<A HREF="../../javax/swing/JComponent.html#isValidateRoot()">isValidateRoot</A>, 
<A HREF="../../javax/swing/JComponent.html#paint(java.awt.Graphics)">paint</A>, 
<A HREF="../../javax/swing/JComponent.html#paintChildren(java.awt.Graphics)">paintChildren</A>, 
<A HREF="../../javax/swing/JComponent.html#paintComponent(java.awt.Graphics)">paintComponent</A>, 
<A HREF="../../javax/swing/JComponent.html#paintImmediately(int, int, int, int)">paintImmediately</A>, 
<A HREF="../../javax/swing/JComponent.html#paintImmediately(java.awt.Rectangle)">paintImmediately</A>, 
<A HREF="../../javax/swing/JComponent.html#processComponentKeyEvent(java.awt.event.KeyEvent)">processComponentKeyEvent</A>, 
<A HREF="../../javax/swing/JComponent.html#processFocusEvent(java.awt.event.FocusEvent)">processFocusEvent</A>, 
<A HREF="../../javax/swing/JComponent.html#processKeyEvent(java.awt.event.KeyEvent)">processKeyEvent</A>, 
<A HREF="../../javax/swing/JComponent.html#processMouseMotionEvent(java.awt.event.MouseEvent)">processMouseMotionEvent</A>, 
<A HREF="../../javax/swing/JComponent.html#putClientProperty(java.lang.Object, java.lang.Object)">putClientProperty</A>, 
<A HREF="../../javax/swing/JComponent.html#registerKeyboardAction(java.awt.event.ActionListener, javax.swing.KeyStroke, int)">registerKeyboardAction</A>, 
<A HREF="../../javax/swing/JComponent.html#registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, javax.swing.KeyStroke, int)">registerKeyboardAction</A>, 
<A HREF="../../javax/swing/JComponent.html#removeAncestorListener(javax.swing.event.AncestorListener)">removeAncestorListener</A>, 
<A HREF="../../javax/swing/JComponent.html#removeNotify()">removeNotify</A>, 
<A HREF="../../javax/swing/JComponent.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A>, 
<A HREF="../../javax/swing/JComponent.html#removeVetoableChangeListener(java.beans.VetoableChangeListener)">removeVetoableChangeListener</A>, 
<A HREF="../../javax/swing/JComponent.html#repaint(long, int, int, int, int)">repaint</A>, 
<A HREF="../../javax/swing/JComponent.html#repaint(java.awt.Rectangle)">repaint</A>, 
<A HREF="../../javax/swing/JComponent.html#requestDefaultFocus()">requestDefaultFocus</A>, 
<A HREF="../../javax/swing/JComponent.html#requestFocus()">requestFocus</A>, 
<A HREF="../../javax/swing/JComponent.html#resetKeyboardActions()">resetKeyboardActions</A>, 
<A HREF="../../javax/swing/JComponent.html#reshape(int, int, int, int)">reshape</A>, 
<A HREF="../../javax/swing/JComponent.html#revalidate()">revalidate</A>, 
<A HREF="../../javax/swing/JComponent.html#scrollRectToVisible(java.awt.Rectangle)">scrollRectToVisible</A>, 
<A HREF="../../javax/swing/JComponent.html#setAlignmentX(float)">setAlignmentX</A>, 
<A HREF="../../javax/swing/JComponent.html#setAlignmentY(float)">setAlignmentY</A>, 
<A HREF="../../javax/swing/JComponent.html#setAutoscrolls(boolean)">setAutoscrolls</A>, 
<A HREF="../../javax/swing/JComponent.html#setBackground(java.awt.Color)">setBackground</A>, 
<A HREF="../../javax/swing/JComponent.html#setBorder(javax.swing.border.Border)">setBorder</A>, 
<A HREF="../../javax/swing/JComponent.html#setDebugGraphicsOptions(int)">setDebugGraphicsOptions</A>, 
<A HREF="../../javax/swing/JComponent.html#setDoubleBuffered(boolean)">setDoubleBuffered</A>, 
<A HREF="../../javax/swing/JComponent.html#setEnabled(boolean)">setEnabled</A>, 
<A HREF="../../javax/swing/JComponent.html#setFont(java.awt.Font)">setFont</A>, 
<A HREF="../../javax/swing/JComponent.html#setForeground(java.awt.Color)">setForeground</A>, 
<A HREF="../../javax/swing/JComponent.html#setMaximumSize(java.awt.Dimension)">setMaximumSize</A>, 
<A HREF="../../javax/swing/JComponent.html#setMinimumSize(java.awt.Dimension)">setMinimumSize</A>, 
<A HREF="../../javax/swing/JComponent.html#setNextFocusableComponent(java.awt.Component)">setNextFocusableComponent</A>, 
<A HREF="../../javax/swing/JComponent.html#setOpaque(boolean)">setOpaque</A>, 
<A HREF="../../javax/swing/JComponent.html#setPreferredSize(java.awt.Dimension)">setPreferredSize</A>, 
<A HREF="../../javax/swing/JComponent.html#setRequestFocusEnabled(boolean)">setRequestFocusEnabled</A>, 
<A HREF="../../javax/swing/JComponent.html#setToolTipText(java.lang.String)">setToolTipText</A>, 
<A HREF="../../javax/swing/JComponent.html#setUI(javax.swing.plaf.ComponentUI)">setUI</A>, 
<A HREF="../../javax/swing/JComponent.html#unregisterKeyboardAction(javax.swing.KeyStroke)">unregisterKeyboardAction</A>, 
<A HREF="../../javax/swing/JComponent.html#update(java.awt.Graphics)">update</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.awt.Container</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>add, 
add, 
add, 
add, 
add, 
addContainerListener, 
addImpl, 
countComponents, 
deliverEvent, 
doLayout, 
getComponent, 
getComponentAt, 
getComponentAt, 
getComponentCount, 
getComponents, 
getLayout, 
insets, 
invalidate, 
isAncestorOf, 
layout, 
list, 
list, 
locate, 
minimumSize, 
paintComponents, 
preferredSize, 
print, 
printComponents, 
processContainerEvent, 
processEvent, 
remove, 
removeAll, 
removeContainerListener, 
setLayout, 
validate, 
validateTree</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.awt.Component</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>action, 
add, 
addComponentListener, 
addFocusListener, 
addKeyListener, 
addMouseListener, 
addMouseMotionListener, 
bounds, 
checkImage, 
checkImage, 
contains, 
createImage, 
createImage, 
disable, 
disableEvents, 
dispatchEvent, 
enable, 
enable, 
enableEvents, 
getBackground, 
getBounds, 
getColorModel, 
getCursor, 
getFont, 
getFontMetrics, 
getForeground, 
getLocale, 
getLocation, 
getLocationOnScreen, 
getName, 
getParent, 
getPeer, 
getSize, 
getToolkit, 
getTreeLock, 
gotFocus, 
handleEvent, 
hide, 
imageUpdate, 
inside, 
isEnabled, 
isShowing, 
isValid, 
keyDown, 
keyUp, 
list, 
list, 
list, 
location, 
lostFocus, 
mouseDown, 
mouseDrag, 
mouseEnter, 
mouseExit, 
mouseMove, 
mouseUp, 
move, 
nextFocus, 
paintAll, 
postEvent, 
prepareImage, 
prepareImage, 
printAll, 
processComponentEvent, 
processMouseEvent, 
remove, 
removeComponentListener, 
removeFocusListener, 
removeKeyListener, 
removeMouseListener, 
removeMouseMotionListener, 
repaint, 
repaint, 
repaint, 
resize, 
resize, 
setBounds, 
setBounds, 
setCursor, 
setLocale, 
setLocation, 
setName, 
setSize, 
setSize, 
show, 
show, 
size, 
toString, 
transferFocus</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="JPopupMenu()"><!-- --></A><H3>
JPopupMenu</H3>
<PRE>
public <B>JPopupMenu</B>()</PRE>
<DL>
<DD>Create a JPopupMenu without an "invoker".</DL>
<HR>

<A NAME="JPopupMenu(java.lang.String)"><!-- --></A><H3>
JPopupMenu</H3>
<PRE>
public <B>JPopupMenu</B>(java.lang.String&nbsp;label)</PRE>
<DL>
<DD>Create a JPopupMenu with the specified title.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>label</CODE> - The string that a UI may use to display as a title 
 for the popup menu.</DL>
</DD>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="setDefaultLightWeightPopupEnabled(boolean)"><!-- --></A><H3>
setDefaultLightWeightPopupEnabled</H3>
<PRE>
public static void <B>setDefaultLightWeightPopupEnabled</B>(boolean&nbsp;aFlag)</PRE>
<DL>
<DD>Set the default value for the <b>lightWeightPopupEnabled</b>
  property.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultLightWeightPopupEnabled()"><!-- --></A><H3>
getDefaultLightWeightPopupEnabled</H3>
<PRE>
public static boolean <B>getDefaultLightWeightPopupEnabled</B>()</PRE>
<DL>
<DD>Return the default value for the <b>lightWeightPopupEnabled</b> 
  property.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getUI()"><!-- --></A><H3>
getUI</H3>
<PRE>
public <A HREF="../../javax/swing/plaf/PopupMenuUI.html">PopupMenuUI</A> <B>getUI</B>()</PRE>
<DL>
<DD>Returns the L&F object that renders this component.<DD><DL>
<DT><B>Returns:</B><DD>the PopupMenuUI object that renders this component</DL>
</DD>
</DL>
<HR>

<A NAME="setUI(javax.swing.plaf.PopupMenuUI)"><!-- --></A><H3>
setUI</H3>
<PRE>
public void <B>setUI</B>(<A HREF="../../javax/swing/plaf/PopupMenuUI.html">PopupMenuUI</A>&nbsp;ui)</PRE>
<DL>
<DD>Sets the L&F object that renders this component.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ui</CODE> - the new PopupMenuUI L&F object<DT><B>See Also: </B><DD><A HREF="../../javax/swing/UIDefaults.html#getUI(javax.swing.JComponent)"><CODE>UIDefaults.getUI(javax.swing.JComponent)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="updateUI()"><!-- --></A><H3>
updateUI</H3>
<PRE>
public void <B>updateUI</B>()</PRE>
<DL>
<DD>Notification from the UIFactory that the L&F has changed. 
 Called to replace the UI with the latest version from the 
 UIFactory.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#updateUI()">updateUI</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JComponent.html#updateUI()"><CODE>JComponent.updateUI()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getUIClassID()"><!-- --></A><H3>
getUIClassID</H3>
<PRE>
public java.lang.String <B>getUIClassID</B>()</PRE>
<DL>
<DD>Returns the name of the L&F class that renders this component.<DD><DL>
<DT><B>Returns:</B><DD>"PopupMenuUI"<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#getUIClassID()">getUIClassID</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JComponent.html#getUIClassID()"><CODE>JComponent.getUIClassID()</CODE></A>, 
<A HREF="../../javax/swing/UIDefaults.html#getUI(javax.swing.JComponent)"><CODE>UIDefaults.getUI(javax.swing.JComponent)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getSelectionModel()"><!-- --></A><H3>
getSelectionModel</H3>
<PRE>
public <A HREF="../../javax/swing/SingleSelectionModel.html">SingleSelectionModel</A> <B>getSelectionModel</B>()</PRE>
<DL>
<DD>Returns the model object that handles single selections.<DD><DL>
<DT><B>Returns:</B><DD>the SingleSelectionModel in use<DT><B>See Also: </B><DD><A HREF="../../javax/swing/SingleSelectionModel.html"><CODE>SingleSelectionModel</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setSelectionModel(javax.swing.SingleSelectionModel)"><!-- --></A><H3>
setSelectionModel</H3>
<PRE>
public void <B>setSelectionModel</B>(<A HREF="../../javax/swing/SingleSelectionModel.html">SingleSelectionModel</A>&nbsp;model)</PRE>
<DL>
<DD>Set the model object to handle single selections.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - the SingleSelectionModel to use<DT><B>See Also: </B><DD><A HREF="../../javax/swing/SingleSelectionModel.html"><CODE>SingleSelectionModel</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="add(javax.swing.JMenuItem)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A> <B>add</B>(<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A>&nbsp;menuItem)</PRE>
<DL>
<DD>Appends the specified menu item to the end of this menu.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the JMenuItem to add<DT><B>Returns:</B><DD>the JMenuItem added.</DL>
</DD>
</DL>
<HR>

<A NAME="add(java.lang.String)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A> <B>add</B>(java.lang.String&nbsp;s)</PRE>
<DL>
<DD>Creates a new menuitem with the specified text and appends
 it to the end of this menu.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>s</CODE> - the string for the menuitem to be added</DL>
</DD>
</DL>
<HR>

<A NAME="add(javax.swing.Action)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A> <B>add</B>(<A HREF="../../javax/swing/Action.html">Action</A>&nbsp;a)</PRE>
<DL>
<DD>Append a new menuitem to the end of the menu which 
 dispatches the specified Action object.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>a</CODE> - the Action to add to the menu<DT><B>See Also: </B><DD><A HREF="../../javax/swing/Action.html"><CODE>Action</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="remove(java.awt.Component)"><!-- --></A><H3>
remove</H3>
<PRE>
public void <B>remove</B>(java.awt.Component&nbsp;comp)</PRE>
<DL>
<DD>Removes the specified component from this popup menu.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>item</CODE> - the JMenuItem to be removed from the menu<DT><B>Overrides:</B><DD>remove in class java.awt.Container</DL>
</DD>
</DL>
<HR>

<A NAME="createActionChangeListener(javax.swing.JMenuItem)"><!-- --></A><H3>
createActionChangeListener</H3>
<PRE>
protected java.beans.PropertyChangeListener <B>createActionChangeListener</B>(<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A>&nbsp;b)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setLightWeightPopupEnabled(boolean)"><!-- --></A><H3>
setLightWeightPopupEnabled</H3>
<PRE>
public void <B>setLightWeightPopupEnabled</B>(boolean&nbsp;aFlag)</PRE>
<DL>
<DD>When displaying the popup, JPopupMenu choose to use a light weight popup if
 it fits. This method allows you to disable this feature. You have to do disable
 it if your application mixes light weight and heavy weights components.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isLightWeightPopupEnabled()"><!-- --></A><H3>
isLightWeightPopupEnabled</H3>
<PRE>
public boolean <B>isLightWeightPopupEnabled</B>()</PRE>
<DL>
<DD>Returns true if lightweight (all-Java) popups are in use,
 or false if heavyweight (native peer) popups are being used.<DD><DL>
<DT><B>Returns:</B><DD>true if lightweight popups are in use</DL>
</DD>
</DL>
<HR>

<A NAME="getLabel()"><!-- --></A><H3>
getLabel</H3>
<PRE>
public java.lang.String <B>getLabel</B>()</PRE>
<DL>
<DD>Returns the popup menu's label<DD><DL>
<DT><B>Returns:</B><DD>a String containing the popup menu's label<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JPopupMenu.html#setLabel(java.lang.String)"><CODE>setLabel(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setLabel(java.lang.String)"><!-- --></A><H3>
setLabel</H3>
<PRE>
public void <B>setLabel</B>(java.lang.String&nbsp;label)</PRE>
<DL>
<DD>Sets the popup menu's label.  Different Look and Feels may choose
 to display or not display this.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>label</CODE> - a String specifying the label for the popup menu<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JPopupMenu.html#setLabel(java.lang.String)"><CODE>setLabel(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="addSeparator()"><!-- --></A><H3>
addSeparator</H3>
<PRE>
public void <B>addSeparator</B>()</PRE>
<DL>
<DD>Appends a new separator at the end of the menu.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="insert(javax.swing.Action, int)"><!-- --></A><H3>
insert</H3>
<PRE>
public void <B>insert</B>(<A HREF="../../javax/swing/Action.html">Action</A>&nbsp;a,
                   int&nbsp;index)</PRE>
<DL>
<DD>Inserts a menu item for the specified Action object at a given
 position.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>component</CODE> - the Action object to insert<DD><CODE>index</CODE> - an int specifying the position at which
                   to insert the Action, where 0 is the first<DT><B>See Also: </B><DD><A HREF="../../javax/swing/Action.html"><CODE>Action</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="insert(java.awt.Component, int)"><!-- --></A><H3>
insert</H3>
<PRE>
public void <B>insert</B>(java.awt.Component&nbsp;component,
                   int&nbsp;index)</PRE>
<DL>
<DD>Inserts the specified component into the menu at a given
 position.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>component</CODE> - the Component to insert<DD><CODE>index</CODE> - an int specifying the position at which
                   to insert the component, where 0 is the first</DL>
</DD>
</DL>
<HR>

<A NAME="addPopupMenuListener(javax.swing.event.PopupMenuListener)"><!-- --></A><H3>
addPopupMenuListener</H3>
<PRE>
public void <B>addPopupMenuListener</B>(<A HREF="../../javax/swing/event/PopupMenuListener.html">PopupMenuListener</A>&nbsp;l)</PRE>
<DL>
<DD>Add a PopupMenu listener

 param l  the PopupMenuListener to add<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="removePopupMenuListener(javax.swing.event.PopupMenuListener)"><!-- --></A><H3>
removePopupMenuListener</H3>
<PRE>
public void <B>removePopupMenuListener</B>(<A HREF="../../javax/swing/event/PopupMenuListener.html">PopupMenuListener</A>&nbsp;l)</PRE>
<DL>
<DD>Remove a PopupMenu listener

 param l  the PopupMenuListener to remove<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="firePopupMenuWillBecomeVisible()"><!-- --></A><H3>
firePopupMenuWillBecomeVisible</H3>
<PRE>
protected void <B>firePopupMenuWillBecomeVisible</B>()</PRE>
<DL>
<DD>Notifies PopupMenuListeners that this popup menu will become
 visible<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="firePopupMenuWillBecomeInvisible()"><!-- --></A><H3>
firePopupMenuWillBecomeInvisible</H3>
<PRE>
protected void <B>firePopupMenuWillBecomeInvisible</B>()</PRE>
<DL>
<DD>Notifies PopupMenuListeners that this popup menu will become
 invisible<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="firePopupMenuCanceled()"><!-- --></A><H3>
firePopupMenuCanceled</H3>
<PRE>
protected void <B>firePopupMenuCanceled</B>()</PRE>
<DL>
<DD>Notifies PopupMenuListeners that this popup menu is canceled<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="pack()"><!-- --></A><H3>
pack</H3>
<PRE>
public void <B>pack</B>()</PRE>
<DL>
<DD>Layout the container so that it uses the minimum space
 needed to display its contents.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setVisible(boolean)"><!-- --></A><H3>
setVisible</H3>
<PRE>
public void <B>setVisible</B>(boolean&nbsp;b)</PRE>
<DL>
<DD>Set the visibility of the popup menu.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - true to make the popup visible, or false to
          hide it<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#setVisible(boolean)">setVisible</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A></DL>
</DD>
</DL>
<HR>

<A NAME="isVisible()"><!-- --></A><H3>
isVisible</H3>
<PRE>
public boolean <B>isVisible</B>()</PRE>
<DL>
<DD>Returns true if the popupmenu is visible (currently
 being displayed).<DD><DL>
<DT><B>Overrides:</B><DD>isVisible in class java.awt.Component</DL>
</DD>
</DL>
<HR>

<A NAME="setLocation(int, int)"><!-- --></A><H3>
setLocation</H3>
<PRE>
public void <B>setLocation</B>(int&nbsp;x,
                        int&nbsp;y)</PRE>
<DL>
<DD>Set the location of the upper left corner of the
 popup menu using x, y coordinates.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - the x coordinate of the popup's new position<DD><CODE>y</CODE> - the y coordinate of the popup's new position<DT><B>Overrides:</B><DD>setLocation in class java.awt.Component</DL>
</DD>
</DL>
<HR>

<A NAME="getInvoker()"><!-- --></A><H3>
getInvoker</H3>
<PRE>
public java.awt.Component <B>getInvoker</B>()</PRE>
<DL>
<DD>Returns the component which is the 'invoker' of this 
 popup menu.<DD><DL>
<DT><B>Returns:</B><DD>the Component in which the popup menu is displayed</DL>
</DD>
</DL>
<HR>

<A NAME="setInvoker(java.awt.Component)"><!-- --></A><H3>
setInvoker</H3>
<PRE>
public void <B>setInvoker</B>(java.awt.Component&nbsp;invoker)</PRE>
<DL>
<DD>Sets the invoker of this popupmenu -- the component in which
 the popupmenu menu is to be displayed.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>invoker</CODE> - the Component in which the popup menu is displayed</DL>
</DD>
</DL>
<HR>

<A NAME="show(java.awt.Component, int, int)"><!-- --></A><H3>
show</H3>
<PRE>
public void <B>show</B>(java.awt.Component&nbsp;invoker,
                 int&nbsp;x,
                 int&nbsp;y)</PRE>
<DL>
<DD>Display the popupmenu at the position x,y in the coordinate
 space of the component invoker.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>invoker</CODE> - The component in whose space the popupmenu is to appear<DD><CODE>x</CODE> - the x coordinate in invoker's coordinate space at which 
 the popup menu is to be displayed<DD><CODE>y</CODE> - the y coordinate in invoker's coordinate space at which 
 the popup menu is to be displayed</DL>
</DD>
</DL>
<HR>

<A NAME="getComponentIndex(java.awt.Component)"><!-- --></A><H3>
getComponentIndex</H3>
<PRE>
public int <B>getComponentIndex</B>(java.awt.Component&nbsp;c)</PRE>
<DL>
<DD>Returns the index of the specified component.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>the</CODE> - Component to find<DT><B>Returns:</B><DD>the index of the component, where 0 is the first,
         or -1 if the component is not found</DL>
</DD>
</DL>
<HR>

<A NAME="getComponentAtIndex(int)"><!-- --></A><H3>
getComponentAtIndex</H3>
<PRE>
public java.awt.Component <B>getComponentAtIndex</B>(int&nbsp;i)</PRE>
<DL>
<DD>Returns the component at the specified index.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - the index of the component, where 0 is the first<DT><B>Returns:</B><DD>the Component at that index</DL>
</DD>
</DL>
<HR>

<A NAME="setPopupSize(java.awt.Dimension)"><!-- --></A><H3>
setPopupSize</H3>
<PRE>
public void <B>setPopupSize</B>(java.awt.Dimension&nbsp;d)</PRE>
<DL>
<DD>Sets the size of the Popup window using a Dimension object.<DD><DL>
<DT><B>Parameters:</B><DD><CODE><code>d</code></CODE> - The dimension specifying the new size 
 of this component.</DL>
</DD>
</DL>
<HR>

<A NAME="setPopupSize(int, int)"><!-- --></A><H3>
setPopupSize</H3>
<PRE>
public void <B>setPopupSize</B>(int&nbsp;width,
                         int&nbsp;height)</PRE>
<DL>
<DD>Sets the size of the Popup window to the specified width and
 height.<DD><DL>
<DT><B>Parameters:</B><DD><CODE><code>width</code></CODE> - The new width of the Popup in pixels.<DD><CODE><code>height</code></CODE> - The new height of the Popup in pixels.</DL>
</DD>
</DL>
<HR>

<A NAME="setSelected(java.awt.Component)"><!-- --></A><H3>
setSelected</H3>
<PRE>
public void <B>setSelected</B>(java.awt.Component&nbsp;sel)</PRE>
<DL>
<DD>Sets the currently selected component,  This will result
 in a change to the selection model.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sel</CODE> - the Component to select</DL>
</DD>
</DL>
<HR>

<A NAME="isBorderPainted()"><!-- --></A><H3>
isBorderPainted</H3>
<PRE>
public boolean <B>isBorderPainted</B>()</PRE>
<DL>
<DD>Checks whether the border should be painted.<DD><DL>
<DT><B>Returns:</B><DD>true if the border is painted<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JPopupMenu.html#setBorderPainted(boolean)"><CODE>setBorderPainted(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setBorderPainted(boolean)"><!-- --></A><H3>
setBorderPainted</H3>
<PRE>
public void <B>setBorderPainted</B>(boolean&nbsp;b)</PRE>
<DL>
<DD>Sets whether the border should be painted.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - if true, the border is painted.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JPopupMenu.html#isBorderPainted()"><CODE>isBorderPainted()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="paintBorder(java.awt.Graphics)"><!-- --></A><H3>
paintBorder</H3>
<PRE>
protected void <B>paintBorder</B>(java.awt.Graphics&nbsp;g)</PRE>
<DL>
<DD>Paint the popup menu's border if BorderPainted property is true.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#paintBorder(java.awt.Graphics)">paintBorder</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JComponent.html#paint(java.awt.Graphics)"><CODE>JComponent.paint(java.awt.Graphics)</CODE></A>, 
<A HREF="../../javax/swing/JComponent.html#setBorder(javax.swing.border.Border)"><CODE>JComponent.setBorder(javax.swing.border.Border)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getMargin()"><!-- --></A><H3>
getMargin</H3>
<PRE>
public java.awt.Insets <B>getMargin</B>()</PRE>
<DL>
<DD>Returns the margin between the popupmenu's border and
 its containees.

 return an Insets object containing the margin values.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="paramString()"><!-- --></A><H3>
paramString</H3>
<PRE>
protected java.lang.String <B>paramString</B>()</PRE>
<DL>
<DD>Returns a string representation of this JPopupMenu. This method 
 is intended to be used only for debugging purposes, and the 
 content and format of the returned string may vary between      
 implementations. The returned string may be empty but may not 
 be <code>null</code>.
 <P>
 Overriding paramString() to provide information about the
 specific new aspects of the JFC components.<DD><DL>
<DT><B>Returns:</B><DD>a string representation of this JPopupMenu.<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#paramString()">paramString</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A></DL>
</DD>
</DL>
<HR>

<A NAME="getAccessibleContext()"><!-- --></A><H3>
getAccessibleContext</H3>
<PRE>
public <A HREF="../../javax/accessibility/AccessibleContext.html">AccessibleContext</A> <B>getAccessibleContext</B>()</PRE>
<DL>
<DD>Get the AccessibleContext associated with this JComponent<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/accessibility/Accessible.html#getAccessibleContext()">getAccessibleContext</A> in interface <A HREF="../../javax/accessibility/Accessible.html">Accessible</A><DT><B>Returns:</B><DD>the AccessibleContext of this JComponent<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#getAccessibleContext()">getAccessibleContext</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A></DL>
</DD>
</DL>
<HR>

<A NAME="processMouseEvent(java.awt.event.MouseEvent, javax.swing.MenuElement[], javax.swing.MenuSelectionManager)"><!-- --></A><H3>
processMouseEvent</H3>
<PRE>
public void <B>processMouseEvent</B>(java.awt.event.MouseEvent&nbsp;event,
                              <A HREF="../../javax/swing/MenuElement.html">MenuElement</A>[]&nbsp;path,
                              <A HREF="../../javax/swing/MenuSelectionManager.html">MenuSelectionManager</A>&nbsp;manager)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/swing/MenuElement.html#processMouseEvent(java.awt.event.MouseEvent, javax.swing.MenuElement[], javax.swing.MenuSelectionManager)">processMouseEvent</A> in interface <A HREF="../../javax/swing/MenuElement.html">MenuElement</A></DL>
</DD>
</DL>
<HR>

<A NAME="processKeyEvent(java.awt.event.KeyEvent, javax.swing.MenuElement[], javax.swing.MenuSelectionManager)"><!-- --></A><H3>
processKeyEvent</H3>
<PRE>
public void <B>processKeyEvent</B>(java.awt.event.KeyEvent&nbsp;e,
                            <A HREF="../../javax/swing/MenuElement.html">MenuElement</A>[]&nbsp;path,
                            <A HREF="../../javax/swing/MenuSelectionManager.html">MenuSelectionManager</A>&nbsp;manager)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/swing/MenuElement.html#processKeyEvent(java.awt.event.KeyEvent, javax.swing.MenuElement[], javax.swing.MenuSelectionManager)">processKeyEvent</A> in interface <A HREF="../../javax/swing/MenuElement.html">MenuElement</A></DL>
</DD>
</DL>
<HR>

<A NAME="menuSelectionChanged(boolean)"><!-- --></A><H3>
menuSelectionChanged</H3>
<PRE>
public void <B>menuSelectionChanged</B>(boolean&nbsp;isIncluded)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/swing/MenuElement.html#menuSelectionChanged(boolean)">menuSelectionChanged</A> in interface <A HREF="../../javax/swing/MenuElement.html">MenuElement</A></DL>
</DD>
</DL>
<HR>

<A NAME="getSubElements()"><!-- --></A><H3>
getSubElements</H3>
<PRE>
public <A HREF="../../javax/swing/MenuElement.html">MenuElement</A>[] <B>getSubElements</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/swing/MenuElement.html#getSubElements()">getSubElements</A> in interface <A HREF="../../javax/swing/MenuElement.html">MenuElement</A></DL>
</DD>
</DL>
<HR>

<A NAME="getComponent()"><!-- --></A><H3>
getComponent</H3>
<PRE>
public java.awt.Component <B>getComponent</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/swing/MenuElement.html#getComponent()">getComponent</A> in interface <A HREF="../../javax/swing/MenuElement.html">MenuElement</A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/JPopupMenu.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javax/swing/JPasswordField.AccessibleJPasswordField.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JPopupMenu.AccessibleJPopupMenu.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JPopupMenu.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;<A HREF="#inner_class_summary">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.JComponent">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems,  Inc. in the US and other countries.<br>Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font>
</BODY>
</HTML>
