<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:56:14 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  JMenu
</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/JMenu.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/JList.AccessibleJList.AccessibleJListChild.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JMenu.AccessibleJMenu.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="JMenu.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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  JMenu</H2>
<PRE>
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--<A HREF="../../javax/swing/JComponent.html">javax.swing.JComponent</A>
                    |
                    +--<A HREF="../../javax/swing/AbstractButton.html">javax.swing.AbstractButton</A>
                          |
                          +--<A HREF="../../javax/swing/JMenuItem.html">javax.swing.JMenuItem</A>
                                |
                                +--<B>javax.swing.JMenu</B>
</PRE>
<HR>
<DL>
<DT>public class <B>JMenu</B><DT>extends <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</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 menu -- a popup window containing <code>JMenuItem</code>s that
 is displayed when the user selects an item on the <code>JMenuBar</code>. In addition
 to JMenuItems, a JMenu can also contain <code>JSeparator</code>s. 
 <p>
 In essence, a menu is a button with an associated JPopupMenu.
 When the "button" is pressed, the JPopupMenu appears. If the
 "button" is on the JMenuBar, the menu is a top-level window.
 If the "button" is another menu item, then the JPopupMenu is
 "pull-right" menu.
 <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#JMenu">JMenu</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="../../javax/swing/JMenuItem.html"><CODE>JMenuItem</CODE></A>, 
<A HREF="../../javax/swing/JSeparator.html"><CODE>JSeparator</CODE></A>, 
<A HREF="../../javax/swing/JMenuBar.html"><CODE>JMenuBar</CODE></A>, 
<A HREF="../../javax/swing/JPopupMenu.html"><CODE>JPopupMenu</CODE></A>, <A HREF="../../serialized-form.html#javax.swing.JMenu">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/JMenu.AccessibleJMenu.html">JMenu.AccessibleJMenu</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The class used to obtain the accessible role for this object.</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/JMenu.WinListener.html">JMenu.WinListener</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A listener class that watches for a popup window closing.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="inner_classes_inherited_from_class_javax.swing.JMenuItem"><!-- --></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/JMenuItem.html">JMenuItem</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JMenuItem.AccessibleJMenuItem.html">JMenuItem.AccessibleJMenuItem</A></B></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="inner_classes_inherited_from_class_javax.swing.AbstractButton"><!-- --></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/AbstractButton.html">AbstractButton</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/AbstractButton.AccessibleAbstractButton.html">AbstractButton.AccessibleAbstractButton</A></B>,  
<B><A HREF="../../javax/swing/AbstractButton.ButtonChangeListener.html">AbstractButton.ButtonChangeListener</A></B></CODE></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="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../javax/swing/JMenu.WinListener.html">JMenu.WinListener</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JMenu.html#popupListener">popupListener</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The window-closing listener for the popup.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.swing.AbstractButton"><!-- --></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/AbstractButton.html">AbstractButton</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../javax/swing/AbstractButton.html#actionListener">actionListener</A>,  
<A HREF="../../javax/swing/AbstractButton.html#BORDER_PAINTED_CHANGED_PROPERTY">BORDER_PAINTED_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#changeEvent">changeEvent</A>,  
<A HREF="../../javax/swing/AbstractButton.html#changeListener">changeListener</A>,  
<A HREF="../../javax/swing/AbstractButton.html#CONTENT_AREA_FILLED_CHANGED_PROPERTY">CONTENT_AREA_FILLED_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#DISABLED_ICON_CHANGED_PROPERTY">DISABLED_ICON_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#DISABLED_SELECTED_ICON_CHANGED_PROPERTY">DISABLED_SELECTED_ICON_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#FOCUS_PAINTED_CHANGED_PROPERTY">FOCUS_PAINTED_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY">HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY">HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#ICON_CHANGED_PROPERTY">ICON_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#itemListener">itemListener</A>,  
<A HREF="../../javax/swing/AbstractButton.html#MARGIN_CHANGED_PROPERTY">MARGIN_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#MNEMONIC_CHANGED_PROPERTY">MNEMONIC_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#model">model</A>,  
<A HREF="../../javax/swing/AbstractButton.html#MODEL_CHANGED_PROPERTY">MODEL_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#PRESSED_ICON_CHANGED_PROPERTY">PRESSED_ICON_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#ROLLOVER_ENABLED_CHANGED_PROPERTY">ROLLOVER_ENABLED_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#ROLLOVER_ICON_CHANGED_PROPERTY">ROLLOVER_ICON_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY">ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#SELECTED_ICON_CHANGED_PROPERTY">SELECTED_ICON_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#TEXT_CHANGED_PROPERTY">TEXT_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#VERTICAL_ALIGNMENT_CHANGED_PROPERTY">VERTICAL_ALIGNMENT_CHANGED_PROPERTY</A>,  
<A HREF="../../javax/swing/AbstractButton.html#VERTICAL_TEXT_POSITION_CHANGED_PROPERTY">VERTICAL_TEXT_POSITION_CHANGED_PROPERTY</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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/JMenu.html#JMenu()">JMenu</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new JMenu with no text.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JMenu.html#JMenu(java.lang.String)">JMenu</A></B>(java.lang.String&nbsp;s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new JMenu with the supplied string as its text</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JMenu.html#JMenu(java.lang.String, boolean)">JMenu</A></B>(java.lang.String&nbsp;s,
      boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new JMenu with the supplied string as its text
 and specified as a tear-off menu or not.</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/JMenu.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;Creates a new menuitem attached to the specified 
 Action object 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;java.awt.Component</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JMenu.html#add(java.awt.Component)">add</A></B>(java.awt.Component&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends a component 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/JMenu.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 a menuitem 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/JMenu.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/JMenu.html#addMenuListener(javax.swing.event.MenuListener)">addMenuListener</A></B>(<A HREF="../../javax/swing/event/MenuListener.html">MenuListener</A>&nbsp;l)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a listener for menu events</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/JMenu.html#addSeparator()">addSeparator</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Append a new separator to 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/JMenu.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;<A HREF="../../javax/swing/JMenu.WinListener.html">JMenu.WinListener</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JMenu.html#createWinListener(javax.swing.JPopupMenu)">createWinListener</A></B>(<A HREF="../../javax/swing/JPopupMenu.html">JPopupMenu</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a window-closing listener for the popup.</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/JMenu.html#doClick(int)">doClick</A></B>(int&nbsp;pressTime)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Programatically perform a "click".</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/JMenu.html#fireMenuCanceled()">fireMenuCanceled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notify all listeners that have registered interest for
 notification on this event type.</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/JMenu.html#fireMenuDeselected()">fireMenuDeselected</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notify all listeners that have registered interest for
 notification on this event type.</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/JMenu.html#fireMenuSelected()">fireMenuSelected</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notify all listeners that have registered interest for
 notification on this event type.</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/JMenu.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/JMenu.html#getComponent()">getComponent</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns the java.awt.Component used to paint this MenuElement.</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/JMenu.html#getDelay()">getDelay</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the suggested delay before the menu's PopupMenu is popped up or down.</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/JMenu.html#getItem(int)">getItem</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the JMenuItem at the specified position.</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/JMenu.html#getItemCount()">getItemCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of items on the menu, including separators.</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/JMenu.html#getMenuComponent(int)">getMenuComponent</A></B>(int&nbsp;n)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the component at position n</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/JMenu.html#getMenuComponentCount()">getMenuComponentCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of components on the menu.</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/JMenu.html#getMenuComponents()">getMenuComponents</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array of the menu's subcomponents</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/JPopupMenu.html">JPopupMenu</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JMenu.html#getPopupMenu()">getPopupMenu</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the popupmenu associated with 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/MenuElement.html">MenuElement</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JMenu.html#getSubElements()">getSubElements</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the sub-menu components for this menu 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/JMenu.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;<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JMenu.html#insert(javax.swing.Action, int)">insert</A></B>(<A HREF="../../javax/swing/Action.html">Action</A>&nbsp;a,
       int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Insert a new menuitem attached to 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;<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JMenu.html#insert(javax.swing.JMenuItem, int)">insert</A></B>(<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A>&nbsp;mi,
       int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Insert the specified JMenuitem 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/JMenu.html#insert(java.lang.String, int)">insert</A></B>(java.lang.String&nbsp;s,
       int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Insert a new menuitem with the specified text 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/JMenu.html#insertSeparator(int)">insertSeparator</A></B>(int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a separator at the specified 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/JMenu.html#isMenuComponent(java.awt.Component)">isMenuComponent</A></B>(java.awt.Component&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the specified component exists in the 
 submenu hierarchy.</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/JMenu.html#isPopupMenuVisible()">isPopupMenuVisible</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the menu's popup window is visible.</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/JMenu.html#isSelected()">isSelected</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the menu is currently selected (popped up).</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/JMenu.html#isTearOff()">isTearOff</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the menu can be torn off.</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/JMenu.html#isTopLevelMenu()">isTopLevelMenu</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the menu is a 'top-level menu', that is, if it is
 the direct child of a menubar.</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/JMenu.html#menuSelectionChanged(boolean)">menuSelectionChanged</A></B>(boolean&nbsp;isIncluded)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Messaged when the menubar selection changes to activate or
 deactivate this menu.</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/JMenu.html#paramString()">paramString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this JMenu.</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/JMenu.html#processKeyEvent(java.awt.event.KeyEvent)">processKeyEvent</A></B>(java.awt.event.KeyEvent&nbsp;e)</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/JMenu.html#remove(java.awt.Component)">remove</A></B>(java.awt.Component&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the Component from 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/JMenu.html#remove(int)">remove</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the menu item at the specified index from 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/JMenu.html#remove(javax.swing.JMenuItem)">remove</A></B>(<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A>&nbsp;item)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the specified menu item from 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/JMenu.html#removeAll()">removeAll</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove all menu items from 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/JMenu.html#removeMenuListener(javax.swing.event.MenuListener)">removeMenuListener</A></B>(<A HREF="../../javax/swing/event/MenuListener.html">MenuListener</A>&nbsp;l)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a listener for menu events</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/JMenu.html#setAccelerator(javax.swing.KeyStroke)">setAccelerator</A></B>(<A HREF="../../javax/swing/KeyStroke.html">KeyStroke</A>&nbsp;keyStroke)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setAccelerator() is not defined for JMenu.</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/JMenu.html#setDelay(int)">setDelay</A></B>(int&nbsp;d)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the suggested delay before the menu's PopupMenu is popped up or down.</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/JMenu.html#setMenuLocation(int, int)">setMenuLocation</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 popup 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/JMenu.html#setModel(javax.swing.ButtonModel)">setModel</A></B>(<A HREF="../../javax/swing/ButtonModel.html">ButtonModel</A>&nbsp;newModel)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the data model for the "menu button" -- the label
 that the user clicks to open or close the 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/JMenu.html#setPopupMenuVisible(boolean)">setPopupMenuVisible</A></B>(boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the visibility of the Menu's popup portion.</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/JMenu.html#setSelected(boolean)">setSelected</A></B>(boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the selection status of the 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/JMenu.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.JMenuItem"><!-- --></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/JMenuItem.html">JMenuItem</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../javax/swing/JMenuItem.html#addMenuDragMouseListener(javax.swing.event.MenuDragMouseListener)">addMenuDragMouseListener</A>, 
<A HREF="../../javax/swing/JMenuItem.html#addMenuKeyListener(javax.swing.event.MenuKeyListener)">addMenuKeyListener</A>, 
<A HREF="../../javax/swing/JMenuItem.html#fireMenuDragMouseDragged(javax.swing.event.MenuDragMouseEvent)">fireMenuDragMouseDragged</A>, 
<A HREF="../../javax/swing/JMenuItem.html#fireMenuDragMouseEntered(javax.swing.event.MenuDragMouseEvent)">fireMenuDragMouseEntered</A>, 
<A HREF="../../javax/swing/JMenuItem.html#fireMenuDragMouseExited(javax.swing.event.MenuDragMouseEvent)">fireMenuDragMouseExited</A>, 
<A HREF="../../javax/swing/JMenuItem.html#fireMenuDragMouseReleased(javax.swing.event.MenuDragMouseEvent)">fireMenuDragMouseReleased</A>, 
<A HREF="../../javax/swing/JMenuItem.html#fireMenuKeyPressed(javax.swing.event.MenuKeyEvent)">fireMenuKeyPressed</A>, 
<A HREF="../../javax/swing/JMenuItem.html#fireMenuKeyReleased(javax.swing.event.MenuKeyEvent)">fireMenuKeyReleased</A>, 
<A HREF="../../javax/swing/JMenuItem.html#fireMenuKeyTyped(javax.swing.event.MenuKeyEvent)">fireMenuKeyTyped</A>, 
<A HREF="../../javax/swing/JMenuItem.html#getAccelerator()">getAccelerator</A>, 
<A HREF="../../javax/swing/JMenuItem.html#init(java.lang.String, javax.swing.Icon)">init</A>, 
<A HREF="../../javax/swing/JMenuItem.html#isArmed()">isArmed</A>, 
<A HREF="../../javax/swing/JMenuItem.html#processKeyEvent(java.awt.event.KeyEvent, javax.swing.MenuElement[], javax.swing.MenuSelectionManager)">processKeyEvent</A>, 
<A HREF="../../javax/swing/JMenuItem.html#processMenuDragMouseEvent(javax.swing.event.MenuDragMouseEvent)">processMenuDragMouseEvent</A>, 
<A HREF="../../javax/swing/JMenuItem.html#processMenuKeyEvent(javax.swing.event.MenuKeyEvent)">processMenuKeyEvent</A>, 
<A HREF="../../javax/swing/JMenuItem.html#processMouseEvent(java.awt.event.MouseEvent, javax.swing.MenuElement[], javax.swing.MenuSelectionManager)">processMouseEvent</A>, 
<A HREF="../../javax/swing/JMenuItem.html#removeMenuDragMouseListener(javax.swing.event.MenuDragMouseListener)">removeMenuDragMouseListener</A>, 
<A HREF="../../javax/swing/JMenuItem.html#removeMenuKeyListener(javax.swing.event.MenuKeyListener)">removeMenuKeyListener</A>, 
<A HREF="../../javax/swing/JMenuItem.html#setArmed(boolean)">setArmed</A>, 
<A HREF="../../javax/swing/JMenuItem.html#setEnabled(boolean)">setEnabled</A>, 
<A HREF="../../javax/swing/JMenuItem.html#setUI(javax.swing.plaf.MenuItemUI)">setUI</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.AbstractButton"><!-- --></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/AbstractButton.html">AbstractButton</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../javax/swing/AbstractButton.html#addActionListener(java.awt.event.ActionListener)">addActionListener</A>, 
<A HREF="../../javax/swing/AbstractButton.html#addChangeListener(javax.swing.event.ChangeListener)">addChangeListener</A>, 
<A HREF="../../javax/swing/AbstractButton.html#addItemListener(java.awt.event.ItemListener)">addItemListener</A>, 
<A HREF="../../javax/swing/AbstractButton.html#checkHorizontalKey(int, java.lang.String)">checkHorizontalKey</A>, 
<A HREF="../../javax/swing/AbstractButton.html#checkVerticalKey(int, java.lang.String)">checkVerticalKey</A>, 
<A HREF="../../javax/swing/AbstractButton.html#createActionListener()">createActionListener</A>, 
<A HREF="../../javax/swing/AbstractButton.html#createChangeListener()">createChangeListener</A>, 
<A HREF="../../javax/swing/AbstractButton.html#createItemListener()">createItemListener</A>, 
<A HREF="../../javax/swing/AbstractButton.html#doClick()">doClick</A>, 
<A HREF="../../javax/swing/AbstractButton.html#fireActionPerformed(java.awt.event.ActionEvent)">fireActionPerformed</A>, 
<A HREF="../../javax/swing/AbstractButton.html#fireItemStateChanged(java.awt.event.ItemEvent)">fireItemStateChanged</A>, 
<A HREF="../../javax/swing/AbstractButton.html#fireStateChanged()">fireStateChanged</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getActionCommand()">getActionCommand</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getDisabledIcon()">getDisabledIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getDisabledSelectedIcon()">getDisabledSelectedIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getHorizontalAlignment()">getHorizontalAlignment</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getHorizontalTextPosition()">getHorizontalTextPosition</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getIcon()">getIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getLabel()">getLabel</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getMargin()">getMargin</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getMnemonic()">getMnemonic</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getModel()">getModel</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getPressedIcon()">getPressedIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getRolloverIcon()">getRolloverIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getRolloverSelectedIcon()">getRolloverSelectedIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getSelectedIcon()">getSelectedIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getSelectedObjects()">getSelectedObjects</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getText()">getText</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getUI()">getUI</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getVerticalAlignment()">getVerticalAlignment</A>, 
<A HREF="../../javax/swing/AbstractButton.html#getVerticalTextPosition()">getVerticalTextPosition</A>, 
<A HREF="../../javax/swing/AbstractButton.html#isBorderPainted()">isBorderPainted</A>, 
<A HREF="../../javax/swing/AbstractButton.html#isContentAreaFilled()">isContentAreaFilled</A>, 
<A HREF="../../javax/swing/AbstractButton.html#isFocusPainted()">isFocusPainted</A>, 
<A HREF="../../javax/swing/AbstractButton.html#isRolloverEnabled()">isRolloverEnabled</A>, 
<A HREF="../../javax/swing/AbstractButton.html#paintBorder(java.awt.Graphics)">paintBorder</A>, 
<A HREF="../../javax/swing/AbstractButton.html#removeActionListener(java.awt.event.ActionListener)">removeActionListener</A>, 
<A HREF="../../javax/swing/AbstractButton.html#removeChangeListener(javax.swing.event.ChangeListener)">removeChangeListener</A>, 
<A HREF="../../javax/swing/AbstractButton.html#removeItemListener(java.awt.event.ItemListener)">removeItemListener</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setActionCommand(java.lang.String)">setActionCommand</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setBorderPainted(boolean)">setBorderPainted</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setContentAreaFilled(boolean)">setContentAreaFilled</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setDisabledIcon(javax.swing.Icon)">setDisabledIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setDisabledSelectedIcon(javax.swing.Icon)">setDisabledSelectedIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setFocusPainted(boolean)">setFocusPainted</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setHorizontalAlignment(int)">setHorizontalAlignment</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setHorizontalTextPosition(int)">setHorizontalTextPosition</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setIcon(javax.swing.Icon)">setIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setLabel(java.lang.String)">setLabel</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setMargin(java.awt.Insets)">setMargin</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setMnemonic(char)">setMnemonic</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setMnemonic(int)">setMnemonic</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setPressedIcon(javax.swing.Icon)">setPressedIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setRolloverEnabled(boolean)">setRolloverEnabled</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setRolloverIcon(javax.swing.Icon)">setRolloverIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setRolloverSelectedIcon(javax.swing.Icon)">setRolloverSelectedIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setSelectedIcon(javax.swing.Icon)">setSelectedIcon</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setText(java.lang.String)">setText</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setUI(javax.swing.plaf.ButtonUI)">setUI</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setVerticalAlignment(int)">setVerticalAlignment</A>, 
<A HREF="../../javax/swing/AbstractButton.html#setVerticalTextPosition(int)">setVerticalTextPosition</A></CODE></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#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#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#setVisible(boolean)">setVisible</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, 
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, 
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, 
isVisible, 
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, 
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 =========== -->

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

<A NAME="popupListener"><!-- --></A><H3>
popupListener</H3>
<PRE>
protected <A HREF="../../javax/swing/JMenu.WinListener.html">JMenu.WinListener</A> <B>popupListener</B></PRE>
<DL>
<DD>The window-closing listener for the popup.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JMenu.WinListener.html"><CODE>JMenu.WinListener</CODE></A></DL>
</DD>
</DL>

<!-- ========= 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="JMenu()"><!-- --></A><H3>
JMenu</H3>
<PRE>
public <B>JMenu</B>()</PRE>
<DL>
<DD>Creates a new JMenu with no text.</DL>
<HR>

<A NAME="JMenu(java.lang.String)"><!-- --></A><H3>
JMenu</H3>
<PRE>
public <B>JMenu</B>(java.lang.String&nbsp;s)</PRE>
<DL>
<DD>Creates a new JMenu with the supplied string as its text<DD><DL>
<DT><B>Parameters:</B><DD><CODE>s</CODE> - The text for the menu label</DL>
</DD>
</DL>
<HR>

<A NAME="JMenu(java.lang.String, boolean)"><!-- --></A><H3>
JMenu</H3>
<PRE>
public <B>JMenu</B>(java.lang.String&nbsp;s,
             boolean&nbsp;b)</PRE>
<DL>
<DD>Creates a new JMenu with the supplied string as its text
 and specified as a tear-off menu or not.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>s</CODE> - The text for the menu label<DD><CODE>b</CODE> - can the menu be torn off (not yet implemented)</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="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/JMenuItem.html#updateUI()">updateUI</A> in class <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</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>"MenuUI"<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JMenuItem.html#getUIClassID()">getUIClassID</A> in class <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</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="setModel(javax.swing.ButtonModel)"><!-- --></A><H3>
setModel</H3>
<PRE>
public void <B>setModel</B>(<A HREF="../../javax/swing/ButtonModel.html">ButtonModel</A>&nbsp;newModel)</PRE>
<DL>
<DD>Set the data model for the "menu button" -- the label
 that the user clicks to open or close the menu.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>m</CODE> - the ButtonModel<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/AbstractButton.html#setModel(javax.swing.ButtonModel)">setModel</A> in class <A HREF="../../javax/swing/AbstractButton.html">AbstractButton</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/AbstractButton.html#getModel()"><CODE>AbstractButton.getModel()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="isSelected()"><!-- --></A><H3>
isSelected</H3>
<PRE>
public boolean <B>isSelected</B>()</PRE>
<DL>
<DD>Returns true if the menu is currently selected (popped up).<DD><DL>
<DT><B>Returns:</B><DD>true if the menu is open, else false<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/AbstractButton.html#isSelected()">isSelected</A> in class <A HREF="../../javax/swing/AbstractButton.html">AbstractButton</A></DL>
</DD>
</DL>
<HR>

<A NAME="setSelected(boolean)"><!-- --></A><H3>
setSelected</H3>
<PRE>
public void <B>setSelected</B>(boolean&nbsp;b)</PRE>
<DL>
<DD>Sets the selection status of the menu.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - a boolean value -- true to select the menu and 
           open it, false to unselect the menu and close it<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/AbstractButton.html#setSelected(boolean)">setSelected</A> in class <A HREF="../../javax/swing/AbstractButton.html">AbstractButton</A></DL>
</DD>
</DL>
<HR>

<A NAME="isPopupMenuVisible()"><!-- --></A><H3>
isPopupMenuVisible</H3>
<PRE>
public boolean <B>isPopupMenuVisible</B>()</PRE>
<DL>
<DD>Returns true if the menu's popup window is visible.<DD><DL>
<DT><B>Returns:</B><DD>true if the menu is visible, else false</DL>
</DD>
</DL>
<HR>

<A NAME="setPopupMenuVisible(boolean)"><!-- --></A><H3>
setPopupMenuVisible</H3>
<PRE>
public void <B>setPopupMenuVisible</B>(boolean&nbsp;b)</PRE>
<DL>
<DD>Set the visibility of the Menu's popup portion.  The popup
 may only be made visible if the menu is itself showing on
 the screen.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - a boolean value -- true to make the menu visible,
           false to hide it</DL>
</DD>
</DL>
<HR>

<A NAME="getDelay()"><!-- --></A><H3>
getDelay</H3>
<PRE>
public int <B>getDelay</B>()</PRE>
<DL>
<DD>Returns the suggested delay before the menu's PopupMenu is popped up or down.<DD><DL>
<DT><B>Returns:</B><DD>an int -- the number of milliseconds to delay</DL>
</DD>
</DL>
<HR>

<A NAME="setDelay(int)"><!-- --></A><H3>
setDelay</H3>
<PRE>
public void <B>setDelay</B>(int&nbsp;d)</PRE>
<DL>
<DD>Sets the suggested delay before the menu's PopupMenu is popped up or down.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>d</CODE> - the number of milliseconds to delay<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if the value of 
                       <code>d</code> is less than 0.</DL>
</DD>
</DL>
<HR>

<A NAME="setMenuLocation(int, int)"><!-- --></A><H3>
setMenuLocation</H3>
<PRE>
public void <B>setMenuLocation</B>(int&nbsp;x,
                            int&nbsp;y)</PRE>
<DL>
<DD>Set the location of the popup component<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</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 a menuitem to the end of this menu. 
 Returns the menuitem added.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>menuItem</CODE> - the JMenuitem to be added<DT><B>Returns:</B><DD>the JMenuItem added</DL>
</DD>
</DL>
<HR>

<A NAME="add(java.awt.Component)"><!-- --></A><H3>
add</H3>
<PRE>
public java.awt.Component <B>add</B>(java.awt.Component&nbsp;c)</PRE>
<DL>
<DD>Appends a component to the end of this menu.
 Returns the component added.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the Component to add<DT><B>Returns:</B><DD>the Component added<DT><B>Overrides:</B><DD>add in class java.awt.Container</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>Creates a new menuitem attached to the specified 
 Action object and appends it to the end of this menu.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>a</CODE> - the Action for the menuitem to be added<DT><B>See Also: </B><DD><A HREF="../../javax/swing/Action.html"><CODE>Action</CODE></A></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="addSeparator()"><!-- --></A><H3>
addSeparator</H3>
<PRE>
public void <B>addSeparator</B>()</PRE>
<DL>
<DD>Append a new separator to the end of the menu.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="insert(java.lang.String, int)"><!-- --></A><H3>
insert</H3>
<PRE>
public void <B>insert</B>(java.lang.String&nbsp;s,
                   int&nbsp;pos)</PRE>
<DL>
<DD>Insert a new menuitem with the specified text at a 
 given position.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>s</CODE> - the text for the menuitem to add<DD><CODE>pos</CODE> - an int giving the position at which to add the 
               new menuitem</DL>
</DD>
</DL>
<HR>

<A NAME="insert(javax.swing.JMenuItem, int)"><!-- --></A><H3>
insert</H3>
<PRE>
public <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A> <B>insert</B>(<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A>&nbsp;mi,
                        int&nbsp;pos)</PRE>
<DL>
<DD>Insert the specified JMenuitem at a given position.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>mi</CODE> - the JMenuitem to add<DD><CODE>pos</CODE> - an int giving the position at which to add the 
               new JMenuitem</DL>
</DD>
</DL>
<HR>

<A NAME="insert(javax.swing.Action, int)"><!-- --></A><H3>
insert</H3>
<PRE>
public <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A> <B>insert</B>(<A HREF="../../javax/swing/Action.html">Action</A>&nbsp;a,
                        int&nbsp;pos)</PRE>
<DL>
<DD>Insert a new menuitem attached to the specified Action 
 object at a given position.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>a</CODE> - the Action object for the menuitem to add<DD><CODE>pos</CODE> - an int giving the position at which to add the 
               new menuitem</DL>
</DD>
</DL>
<HR>

<A NAME="insertSeparator(int)"><!-- --></A><H3>
insertSeparator</H3>
<PRE>
public void <B>insertSeparator</B>(int&nbsp;index)</PRE>
<DL>
<DD>Inserts a separator at the specified position.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - an int giving the position at which to 
                    insert the menu separator<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if the value of 
                       <code>index</code> is less than 0.</DL>
</DD>
</DL>
<HR>

<A NAME="getItem(int)"><!-- --></A><H3>
getItem</H3>
<PRE>
public <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A> <B>getItem</B>(int&nbsp;pos)</PRE>
<DL>
<DD>Returns the JMenuItem at the specified position.
 If the specified position contains a separator, this JMenu
 is returned.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pos</CODE> - an int giving the position<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if the value of 
                       <code>index</code> is less than 0.</DL>
</DD>
</DL>
<HR>

<A NAME="getItemCount()"><!-- --></A><H3>
getItemCount</H3>
<PRE>
public int <B>getItemCount</B>()</PRE>
<DL>
<DD>Returns the number of items on the menu, including separators.
 This method is included for AWT compatibility.<DD><DL>
<DT><B>Returns:</B><DD>an int equal to the number of items on the menu<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JMenu.html#getMenuComponentCount()"><CODE>getMenuComponentCount()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="isTearOff()"><!-- --></A><H3>
isTearOff</H3>
<PRE>
public boolean <B>isTearOff</B>()</PRE>
<DL>
<DD>Returns true if the menu can be torn off.<DD><DL>
<DT><B>Returns:</B><DD>true if the menu can be torn off, else false</DL>
</DD>
</DL>
<HR>

<A NAME="remove(javax.swing.JMenuItem)"><!-- --></A><H3>
remove</H3>
<PRE>
public void <B>remove</B>(<A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A>&nbsp;item)</PRE>
<DL>
<DD>Removes the specified menu item from this menu.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>item</CODE> - the JMenuItem to be removed from the menu</DL>
</DD>
</DL>
<HR>

<A NAME="remove(int)"><!-- --></A><H3>
remove</H3>
<PRE>
public void <B>remove</B>(int&nbsp;pos)</PRE>
<DL>
<DD>Removes the menu item at the specified index from this menu.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the item to be removed.<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if the value of 
                       <code>index</code> is less than 0.<DT><B>Overrides:</B><DD>remove in class java.awt.Container</DL>
</DD>
</DL>
<HR>

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

<A NAME="removeAll()"><!-- --></A><H3>
removeAll</H3>
<PRE>
public void <B>removeAll</B>()</PRE>
<DL>
<DD>Remove all menu items from this menu.<DD><DL>
<DT><B>Overrides:</B><DD>removeAll in class java.awt.Container</DL>
</DD>
</DL>
<HR>

<A NAME="getMenuComponentCount()"><!-- --></A><H3>
getMenuComponentCount</H3>
<PRE>
public int <B>getMenuComponentCount</B>()</PRE>
<DL>
<DD>Returns the number of components on the menu.<DD><DL>
<DT><B>Returns:</B><DD>an int -- the number of components on the menu</DL>
</DD>
</DL>
<HR>

<A NAME="getMenuComponent(int)"><!-- --></A><H3>
getMenuComponent</H3>
<PRE>
public java.awt.Component <B>getMenuComponent</B>(int&nbsp;n)</PRE>
<DL>
<DD>Returns the component at position n<DD><DL>
<DT><B>Parameters:</B><DD><CODE>n</CODE> - the position of the component to be returned</DL>
</DD>
</DL>
<HR>

<A NAME="getMenuComponents()"><!-- --></A><H3>
getMenuComponents</H3>
<PRE>
public java.awt.Component[] <B>getMenuComponents</B>()</PRE>
<DL>
<DD>Returns an array of the menu's subcomponents<DD><DL>
<DT><B>Returns:</B><DD>an array of Components</DL>
</DD>
</DL>
<HR>

<A NAME="isTopLevelMenu()"><!-- --></A><H3>
isTopLevelMenu</H3>
<PRE>
public boolean <B>isTopLevelMenu</B>()</PRE>
<DL>
<DD>Returns true if the menu is a 'top-level menu', that is, if it is
 the direct child of a menubar.<DD><DL>
<DT><B>Returns:</B><DD>true if the menu is activated from the menu bar,
         false if the menu is activated from a menu item
         on another menu</DL>
</DD>
</DL>
<HR>

<A NAME="isMenuComponent(java.awt.Component)"><!-- --></A><H3>
isMenuComponent</H3>
<PRE>
public boolean <B>isMenuComponent</B>(java.awt.Component&nbsp;c)</PRE>
<DL>
<DD>Returns true if the specified component exists in the 
 submenu hierarchy.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the Component to be tested<DT><B>Returns:</B><DD>true if the component exists</DL>
</DD>
</DL>
<HR>

<A NAME="getPopupMenu()"><!-- --></A><H3>
getPopupMenu</H3>
<PRE>
public <A HREF="../../javax/swing/JPopupMenu.html">JPopupMenu</A> <B>getPopupMenu</B>()</PRE>
<DL>
<DD>Returns the popupmenu associated with this menu<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addMenuListener(javax.swing.event.MenuListener)"><!-- --></A><H3>
addMenuListener</H3>
<PRE>
public void <B>addMenuListener</B>(<A HREF="../../javax/swing/event/MenuListener.html">MenuListener</A>&nbsp;l)</PRE>
<DL>
<DD>Add a listener for menu events<DD><DL>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - the listener to be added</DL>
</DD>
</DL>
<HR>

<A NAME="removeMenuListener(javax.swing.event.MenuListener)"><!-- --></A><H3>
removeMenuListener</H3>
<PRE>
public void <B>removeMenuListener</B>(<A HREF="../../javax/swing/event/MenuListener.html">MenuListener</A>&nbsp;l)</PRE>
<DL>
<DD>Remove a listener for menu events<DD><DL>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - the listener to be removed</DL>
</DD>
</DL>
<HR>

<A NAME="fireMenuSelected()"><!-- --></A><H3>
fireMenuSelected</H3>
<PRE>
protected void <B>fireMenuSelected</B>()</PRE>
<DL>
<DD>Notify all listeners that have registered interest for
 notification on this event type.  The event instance 
 is lazily created using the parameters passed into 
 the fire method.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/event/EventListenerList.html"><CODE>EventListenerList</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="fireMenuDeselected()"><!-- --></A><H3>
fireMenuDeselected</H3>
<PRE>
protected void <B>fireMenuDeselected</B>()</PRE>
<DL>
<DD>Notify all listeners that have registered interest for
 notification on this event type.  The event instance 
 is lazily created using the parameters passed into 
 the fire method.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/event/EventListenerList.html"><CODE>EventListenerList</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="fireMenuCanceled()"><!-- --></A><H3>
fireMenuCanceled</H3>
<PRE>
protected void <B>fireMenuCanceled</B>()</PRE>
<DL>
<DD>Notify all listeners that have registered interest for
 notification on this event type.  The event instance 
 is lazily created using the parameters passed into 
 the fire method.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/event/EventListenerList.html"><CODE>EventListenerList</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="createWinListener(javax.swing.JPopupMenu)"><!-- --></A><H3>
createWinListener</H3>
<PRE>
protected <A HREF="../../javax/swing/JMenu.WinListener.html">JMenu.WinListener</A> <B>createWinListener</B>(<A HREF="../../javax/swing/JPopupMenu.html">JPopupMenu</A>&nbsp;p)</PRE>
<DL>
<DD>Create a window-closing listener for the popup.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p</CODE> - the JPopupMenu<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JMenu.WinListener.html"><CODE>JMenu.WinListener</CODE></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>Messaged when the menubar selection changes to activate or
 deactivate this menu.
 Overrides <code>JMenuItem.menuSelectionChanged</code>.<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><DT><B>Parameters:</B><DD><CODE>isIncluded</CODE> - true if this menu is active, false if
        it is not<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JMenuItem.html#menuSelectionChanged(boolean)">menuSelectionChanged</A> in class <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</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>Returns an array containing the sub-menu components for this menu component<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><DT><B>Returns:</B><DD>an array of MenuElement objects<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JMenuItem.html#getSubElements()">getSubElements</A> in class <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A></DL>
</DD>
</DL>
<HR>

<A NAME="getComponent()"><!-- --></A><H3>
getComponent</H3>
<PRE>
public java.awt.Component <B>getComponent</B>()</PRE>
<DL>
<DD>This method returns the java.awt.Component used to paint this MenuElement.
 The returned component is used to convert events and detect if an event is inside
 a menu component.<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><DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JMenuItem.html#getComponent()">getComponent</A> in class <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A></DL>
</DD>
</DL>
<HR>

<A NAME="setAccelerator(javax.swing.KeyStroke)"><!-- --></A><H3>
setAccelerator</H3>
<PRE>
public void <B>setAccelerator</B>(<A HREF="../../javax/swing/KeyStroke.html">KeyStroke</A>&nbsp;keyStroke)</PRE>
<DL>
<DD>setAccelerator() is not defined for JMenu.  Use setMnemonic() instead.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JMenuItem.html#setAccelerator(javax.swing.KeyStroke)">setAccelerator</A> in class <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</A></DL>
</DD>
</DL>
<HR>

<A NAME="processKeyEvent(java.awt.event.KeyEvent)"><!-- --></A><H3>
processKeyEvent</H3>
<PRE>
protected void <B>processKeyEvent</B>(java.awt.event.KeyEvent&nbsp;e)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#processKeyEvent(java.awt.event.KeyEvent)">processKeyEvent</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A></DL>
</DD>
</DL>
<HR>

<A NAME="doClick(int)"><!-- --></A><H3>
doClick</H3>
<PRE>
public void <B>doClick</B>(int&nbsp;pressTime)</PRE>
<DL>
<DD>Programatically perform a "click".  This overrides the method
 AbstractButton.doClick(int) in order to make the menu pop up.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/AbstractButton.html#doClick(int)">doClick</A> in class <A HREF="../../javax/swing/AbstractButton.html">AbstractButton</A></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 JMenu. 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 JMenu.<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JMenuItem.html#paramString()">paramString</A> in class <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</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/JMenuItem.html#getAccessibleContext()">getAccessibleContext</A> in class <A HREF="../../javax/swing/JMenuItem.html">JMenuItem</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/JMenu.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/JList.AccessibleJList.AccessibleJListChild.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JMenu.AccessibleJMenu.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="JMenu.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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>
