<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:56:22 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  JMenuItem
</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/JMenuItem.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/JMenuBar.AccessibleJMenuBar.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JMenuItem.AccessibleJMenuItem.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="JMenuItem.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.AbstractButton">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  JMenuItem</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>
                          |
                          +--<B>javax.swing.JMenuItem</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../javax/swing/JCheckBoxMenuItem.html">JCheckBoxMenuItem</A>, <A HREF="../../javax/swing/JMenu.html">JMenu</A>, <A HREF="../../javax/swing/JRadioButtonMenuItem.html">JRadioButtonMenuItem</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>JMenuItem</B><DT>extends <A HREF="../../javax/swing/AbstractButton.html">AbstractButton</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 MenuItem. A menu item is essentially a button
 sitting in a list. When the user selects the "button", the action
 associated with the menu item is performed. A JMenuItem contained
 in a JPopupMenu performs exactly that function.
 <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#JMenuItem">JMenuItem</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/JPopupMenu.html"><CODE>JPopupMenu</CODE></A>, 
<A HREF="../../javax/swing/JMenu.html"><CODE>JMenu</CODE></A>, 
<A HREF="../../javax/swing/JCheckBoxMenuItem.html"><CODE>JCheckBoxMenuItem</CODE></A>, 
<A HREF="../../javax/swing/JRadioButtonMenuItem.html"><CODE>JRadioButtonMenuItem</CODE></A>, <A HREF="../../serialized-form.html#javax.swing.JMenuItem">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/JMenuItem.AccessibleJMenuItem.html">JMenuItem.AccessibleJMenuItem</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>
</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="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/JMenuItem.html#JMenuItem()">JMenuItem</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a menuItem with no set text or icon.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JMenuItem.html#JMenuItem(javax.swing.Icon)">JMenuItem</A></B>(<A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE>

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

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a menuItem with text.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JMenuItem.html#JMenuItem(java.lang.String, javax.swing.Icon)">JMenuItem</A></B>(java.lang.String&nbsp;text,
          <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a menuItem with the supplied text and icon.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JMenuItem.html#JMenuItem(java.lang.String, int)">JMenuItem</A></B>(java.lang.String&nbsp;text,
          int&nbsp;mnemonic)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a menuItem with the specified text and
 keyboard mnemonic.</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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JMenuItem.html#addMenuDragMouseListener(javax.swing.event.MenuDragMouseListener)">addMenuDragMouseListener</A></B>(<A HREF="../../javax/swing/event/MenuDragMouseListener.html">MenuDragMouseListener</A>&nbsp;l)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a MenuDragMouseListener to the menu item</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/JMenuItem.html#addMenuKeyListener(javax.swing.event.MenuKeyListener)">addMenuKeyListener</A></B>(<A HREF="../../javax/swing/event/MenuKeyListener.html">MenuKeyListener</A>&nbsp;l)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a MenuKeyListener to the menu item</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/JMenuItem.html#fireMenuDragMouseDragged(javax.swing.event.MenuDragMouseEvent)">fireMenuDragMouseDragged</A></B>(<A HREF="../../javax/swing/event/MenuDragMouseEvent.html">MenuDragMouseEvent</A>&nbsp;event)</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/JMenuItem.html#fireMenuDragMouseEntered(javax.swing.event.MenuDragMouseEvent)">fireMenuDragMouseEntered</A></B>(<A HREF="../../javax/swing/event/MenuDragMouseEvent.html">MenuDragMouseEvent</A>&nbsp;event)</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/JMenuItem.html#fireMenuDragMouseExited(javax.swing.event.MenuDragMouseEvent)">fireMenuDragMouseExited</A></B>(<A HREF="../../javax/swing/event/MenuDragMouseEvent.html">MenuDragMouseEvent</A>&nbsp;event)</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/JMenuItem.html#fireMenuDragMouseReleased(javax.swing.event.MenuDragMouseEvent)">fireMenuDragMouseReleased</A></B>(<A HREF="../../javax/swing/event/MenuDragMouseEvent.html">MenuDragMouseEvent</A>&nbsp;event)</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/JMenuItem.html#fireMenuKeyPressed(javax.swing.event.MenuKeyEvent)">fireMenuKeyPressed</A></B>(<A HREF="../../javax/swing/event/MenuKeyEvent.html">MenuKeyEvent</A>&nbsp;event)</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/JMenuItem.html#fireMenuKeyReleased(javax.swing.event.MenuKeyEvent)">fireMenuKeyReleased</A></B>(<A HREF="../../javax/swing/event/MenuKeyEvent.html">MenuKeyEvent</A>&nbsp;event)</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/JMenuItem.html#fireMenuKeyTyped(javax.swing.event.MenuKeyEvent)">fireMenuKeyTyped</A></B>(<A HREF="../../javax/swing/event/MenuKeyEvent.html">MenuKeyEvent</A>&nbsp;event)</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/KeyStroke.html">KeyStroke</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JMenuItem.html#getAccelerator()">getAccelerator</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the KeyStroke which serves as an accelerator 
 for the menu item.</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/JMenuItem.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/JMenuItem.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 object.</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/JMenuItem.html#getSubElements()">getSubElements</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method 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/JMenuItem.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>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JMenuItem.html#init(java.lang.String, javax.swing.Icon)">init</A></B>(java.lang.String&nbsp;text,
     <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize the menu item with the specified text and icon.</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/JMenuItem.html#isArmed()">isArmed</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the menu item is "armed".</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/JMenuItem.html#menuSelectionChanged(boolean)">menuSelectionChanged</A></B>(boolean&nbsp;isIncluded)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called by the MenuSelectionManager when the MenuElement is selected
 or unselected.</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/JMenuItem.html#paramString()">paramString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this JMenuItem.</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/JMenuItem.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;Process a key event forwarded from the MenuSelectionManager.</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/JMenuItem.html#processMenuDragMouseEvent(javax.swing.event.MenuDragMouseEvent)">processMenuDragMouseEvent</A></B>(<A HREF="../../javax/swing/event/MenuDragMouseEvent.html">MenuDragMouseEvent</A>&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handle mouse drag in a 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/JMenuItem.html#processMenuKeyEvent(javax.swing.event.MenuKeyEvent)">processMenuKeyEvent</A></B>(<A HREF="../../javax/swing/event/MenuKeyEvent.html">MenuKeyEvent</A>&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hanlde a keystroke in a 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/JMenuItem.html#processMouseEvent(java.awt.event.MouseEvent, javax.swing.MenuElement[], javax.swing.MenuSelectionManager)">processMouseEvent</A></B>(java.awt.event.MouseEvent&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;Process a mouse event forwarded from the MenuSelectionManager.</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/JMenuItem.html#removeMenuDragMouseListener(javax.swing.event.MenuDragMouseListener)">removeMenuDragMouseListener</A></B>(<A HREF="../../javax/swing/event/MenuDragMouseListener.html">MenuDragMouseListener</A>&nbsp;l)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a MenuDragMouseListener from the menu item</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/JMenuItem.html#removeMenuKeyListener(javax.swing.event.MenuKeyListener)">removeMenuKeyListener</A></B>(<A HREF="../../javax/swing/event/MenuKeyListener.html">MenuKeyListener</A>&nbsp;l)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a MenuKeyListener from the menu item</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/JMenuItem.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;Set the key combination which invokes the Menu Item's
 action listeners without navigating the menu hierarchy.</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/JMenuItem.html#setArmed(boolean)">setArmed</A></B>(boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Identifies the menu item as "armed".</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/JMenuItem.html#setEnabled(boolean)">setEnabled</A></B>(boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enable or disable the menu item.</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/JMenuItem.html#setUI(javax.swing.plaf.MenuItemUI)">setUI</A></B>(<A HREF="../../javax/swing/plaf/MenuItemUI.html">MenuItemUI</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/JMenuItem.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.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#doClick(int)">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#isSelected()">isSelected</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#setModel(javax.swing.ButtonModel)">setModel</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#setSelected(boolean)">setSelected</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#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#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, 
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, 
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, 
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 =========== -->


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

<A NAME="JMenuItem(javax.swing.Icon)"><!-- --></A><H3>
JMenuItem</H3>
<PRE>
public <B>JMenuItem</B>(<A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</PRE>
<DL>
<DD>Creates a menuItem with an icon.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>icon</CODE> - the icon of the MenuItem.</DL>
</DD>
</DL>
<HR>

<A NAME="JMenuItem(java.lang.String)"><!-- --></A><H3>
JMenuItem</H3>
<PRE>
public <B>JMenuItem</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD>Creates a menuItem with text.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text of the MenuItem.</DL>
</DD>
</DL>
<HR>

<A NAME="JMenuItem(java.lang.String, javax.swing.Icon)"><!-- --></A><H3>
JMenuItem</H3>
<PRE>
public <B>JMenuItem</B>(java.lang.String&nbsp;text,
                 <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</PRE>
<DL>
<DD>Creates a menuItem with the supplied text and icon.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text of the MenuItem.<DD><CODE>icon</CODE> - the icon of the MenuItem.</DL>
</DD>
</DL>
<HR>

<A NAME="JMenuItem(java.lang.String, int)"><!-- --></A><H3>
JMenuItem</H3>
<PRE>
public <B>JMenuItem</B>(java.lang.String&nbsp;text,
                 int&nbsp;mnemonic)</PRE>
<DL>
<DD>Creates a menuItem with the specified text and
 keyboard mnemonic.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text of the MenuItem.<DD><CODE>mnemonic</CODE> - the keyboard mnemonic for the MenuItem</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="init(java.lang.String, javax.swing.Icon)"><!-- --></A><H3>
init</H3>
<PRE>
protected void <B>init</B>(java.lang.String&nbsp;text,
                    <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</PRE>
<DL>
<DD>Initialize the menu item with the specified text and icon.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text of the MenuItem.<DD><CODE>icon</CODE> - the icon of the MenuItem.<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/AbstractButton.html#init(java.lang.String, javax.swing.Icon)">init</A> in class <A HREF="../../javax/swing/AbstractButton.html">AbstractButton</A></DL>
</DD>
</DL>
<HR>

<A NAME="setUI(javax.swing.plaf.MenuItemUI)"><!-- --></A><H3>
setUI</H3>
<PRE>
public void <B>setUI</B>(<A HREF="../../javax/swing/plaf/MenuItemUI.html">MenuItemUI</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 MenuItemUI 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/AbstractButton.html#updateUI()">updateUI</A> in class <A HREF="../../javax/swing/AbstractButton.html">AbstractButton</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>"MenuItemUI"<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="setArmed(boolean)"><!-- --></A><H3>
setArmed</H3>
<PRE>
public void <B>setArmed</B>(boolean&nbsp;b)</PRE>
<DL>
<DD>Identifies the menu item as "armed". If the mouse button is
 released while it is over this item, the menu's action event
 will fire. If the mouse button is released elsewhere, the
 event will not fire and the menu item will be disarmed.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - true to arm the menu item so it can be selected</DL>
</DD>
</DL>
<HR>

<A NAME="isArmed()"><!-- --></A><H3>
isArmed</H3>
<PRE>
public boolean <B>isArmed</B>()</PRE>
<DL>
<DD>Returns whether the menu item is "armed".<DD><DL>
<DT><B>Returns:</B><DD>true if the menu item is armed, and it can be selected<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JMenuItem.html#setArmed(boolean)"><CODE>setArmed(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setEnabled(boolean)"><!-- --></A><H3>
setEnabled</H3>
<PRE>
public void <B>setEnabled</B>(boolean&nbsp;b)</PRE>
<DL>
<DD>Enable or disable the menu item.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - true to enable the item<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/AbstractButton.html#setEnabled(boolean)">setEnabled</A> in class <A HREF="../../javax/swing/AbstractButton.html">AbstractButton</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>Set the key combination which invokes the Menu Item's
 action listeners without navigating the menu hierarchy.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>keyStroke</CODE> - the KeyStroke which will serve as an accelerator</DL>
</DD>
</DL>
<HR>

<A NAME="getAccelerator()"><!-- --></A><H3>
getAccelerator</H3>
<PRE>
public <A HREF="../../javax/swing/KeyStroke.html">KeyStroke</A> <B>getAccelerator</B>()</PRE>
<DL>
<DD>Returns the KeyStroke which serves as an accelerator 
 for the menu item.<DD><DL>
<DT><B>Returns:</B><DD>a KeyStroke object identifying the accelerator key</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;e,
                              <A HREF="../../javax/swing/MenuElement.html">MenuElement</A>[]&nbsp;path,
                              <A HREF="../../javax/swing/MenuSelectionManager.html">MenuSelectionManager</A>&nbsp;manager)</PRE>
<DL>
<DD>Process a mouse event forwarded from the MenuSelectionManager.<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><DT><B>Parameters:</B><DD><CODE>event</CODE> - A MouseEvent with source being the receiving component.<DD><CODE>componentPath</CODE> - The MenuElement path array to the receiving component.<DD><CODE>manager</CODE> - The MenuSelectionManager for the menu hierarchy.
 This method should process the MouseEvent and change the menu selection if necessary
 by using MenuSelectionManager's API.
 <p>
 Note: you do not have to forward the event to sub-components. This is done automatically
 by the MenuSelectionManager</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>Process a key event forwarded from the MenuSelectionManager.<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><DT><B>Parameters:</B><DD><CODE>event</CODE> - A KeyEvent with source being the receiving component.<DD><CODE>componentPath</CODE> - The MenuElement path array to the receiving component.<DD><CODE>manager</CODE> - The MenuSelectionManager for the menu hierarchy.
 This method should process the KeyEvent and change the menu selection if necessary
 by using MenuSelectionManager's API.
 <p>
 Note: you do not have to forward the event to sub-components. This is done automatically
 by the MenuSelectionManager</DL>
</DD>
</DL>
<HR>

<A NAME="processMenuDragMouseEvent(javax.swing.event.MenuDragMouseEvent)"><!-- --></A><H3>
processMenuDragMouseEvent</H3>
<PRE>
public void <B>processMenuDragMouseEvent</B>(<A HREF="../../javax/swing/event/MenuDragMouseEvent.html">MenuDragMouseEvent</A>&nbsp;e)</PRE>
<DL>
<DD>Handle mouse drag in a menu.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - a MenuDragMouseEvent object</DL>
</DD>
</DL>
<HR>

<A NAME="processMenuKeyEvent(javax.swing.event.MenuKeyEvent)"><!-- --></A><H3>
processMenuKeyEvent</H3>
<PRE>
public void <B>processMenuKeyEvent</B>(<A HREF="../../javax/swing/event/MenuKeyEvent.html">MenuKeyEvent</A>&nbsp;e)</PRE>
<DL>
<DD>Hanlde a keystroke in a menu.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - a MenuKeyEvent object</DL>
</DD>
</DL>
<HR>

<A NAME="fireMenuDragMouseEntered(javax.swing.event.MenuDragMouseEvent)"><!-- --></A><H3>
fireMenuDragMouseEntered</H3>
<PRE>
protected void <B>fireMenuDragMouseEntered</B>(<A HREF="../../javax/swing/event/MenuDragMouseEvent.html">MenuDragMouseEvent</A>&nbsp;event)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fireMenuDragMouseExited(javax.swing.event.MenuDragMouseEvent)"><!-- --></A><H3>
fireMenuDragMouseExited</H3>
<PRE>
protected void <B>fireMenuDragMouseExited</B>(<A HREF="../../javax/swing/event/MenuDragMouseEvent.html">MenuDragMouseEvent</A>&nbsp;event)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fireMenuDragMouseDragged(javax.swing.event.MenuDragMouseEvent)"><!-- --></A><H3>
fireMenuDragMouseDragged</H3>
<PRE>
protected void <B>fireMenuDragMouseDragged</B>(<A HREF="../../javax/swing/event/MenuDragMouseEvent.html">MenuDragMouseEvent</A>&nbsp;event)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fireMenuDragMouseReleased(javax.swing.event.MenuDragMouseEvent)"><!-- --></A><H3>
fireMenuDragMouseReleased</H3>
<PRE>
protected void <B>fireMenuDragMouseReleased</B>(<A HREF="../../javax/swing/event/MenuDragMouseEvent.html">MenuDragMouseEvent</A>&nbsp;event)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fireMenuKeyPressed(javax.swing.event.MenuKeyEvent)"><!-- --></A><H3>
fireMenuKeyPressed</H3>
<PRE>
protected void <B>fireMenuKeyPressed</B>(<A HREF="../../javax/swing/event/MenuKeyEvent.html">MenuKeyEvent</A>&nbsp;event)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fireMenuKeyReleased(javax.swing.event.MenuKeyEvent)"><!-- --></A><H3>
fireMenuKeyReleased</H3>
<PRE>
protected void <B>fireMenuKeyReleased</B>(<A HREF="../../javax/swing/event/MenuKeyEvent.html">MenuKeyEvent</A>&nbsp;event)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fireMenuKeyTyped(javax.swing.event.MenuKeyEvent)"><!-- --></A><H3>
fireMenuKeyTyped</H3>
<PRE>
protected void <B>fireMenuKeyTyped</B>(<A HREF="../../javax/swing/event/MenuKeyEvent.html">MenuKeyEvent</A>&nbsp;event)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="menuSelectionChanged(boolean)"><!-- --></A><H3>
menuSelectionChanged</H3>
<PRE>
public void <B>menuSelectionChanged</B>(boolean&nbsp;isIncluded)</PRE>
<DL>
<DD>Called by the MenuSelectionManager when the MenuElement is selected
 or unselected.<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 item is on the part of the menu
                    path that changed, false if this menu is part of the
                    a menu path that changed, but this particular part of
                    that path is still the same<DT><B>See Also: </B><DD><A HREF="../../javax/swing/MenuSelectionManager.html#setSelectedPath(javax.swing.MenuElement[])"><CODE>MenuSelectionManager.setSelectedPath(MenuElement[])</CODE></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>This method 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 MenuElements</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 object.
 The returned component will be 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>Returns:</B><DD>the Component that paints this menu item</DL>
</DD>
</DL>
<HR>

<A NAME="addMenuDragMouseListener(javax.swing.event.MenuDragMouseListener)"><!-- --></A><H3>
addMenuDragMouseListener</H3>
<PRE>
public void <B>addMenuDragMouseListener</B>(<A HREF="../../javax/swing/event/MenuDragMouseListener.html">MenuDragMouseListener</A>&nbsp;l)</PRE>
<DL>
<DD>Adds a MenuDragMouseListener to the menu item<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="removeMenuDragMouseListener(javax.swing.event.MenuDragMouseListener)"><!-- --></A><H3>
removeMenuDragMouseListener</H3>
<PRE>
public void <B>removeMenuDragMouseListener</B>(<A HREF="../../javax/swing/event/MenuDragMouseListener.html">MenuDragMouseListener</A>&nbsp;l)</PRE>
<DL>
<DD>Removes a MenuDragMouseListener from the menu item<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addMenuKeyListener(javax.swing.event.MenuKeyListener)"><!-- --></A><H3>
addMenuKeyListener</H3>
<PRE>
public void <B>addMenuKeyListener</B>(<A HREF="../../javax/swing/event/MenuKeyListener.html">MenuKeyListener</A>&nbsp;l)</PRE>
<DL>
<DD>Adds a MenuKeyListener to the menu item<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="removeMenuKeyListener(javax.swing.event.MenuKeyListener)"><!-- --></A><H3>
removeMenuKeyListener</H3>
<PRE>
public void <B>removeMenuKeyListener</B>(<A HREF="../../javax/swing/event/MenuKeyListener.html">MenuKeyListener</A>&nbsp;l)</PRE>
<DL>
<DD>Removes a MenuKeyListener from the menu item<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 JMenuItem. 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 JMenuItem.<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/AbstractButton.html#paramString()">paramString</A> in class <A HREF="../../javax/swing/AbstractButton.html">AbstractButton</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>
<!-- ========= 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/JMenuItem.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/JMenuBar.AccessibleJMenuBar.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JMenuItem.AccessibleJMenuItem.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="JMenuItem.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.AbstractButton">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>
