Java™ Platform
Standard Ed. 6

Uses of Class
javax.swing.JMenu

Packages that use JMenu
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel. 
javax.swing.plaf.metal Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel. 
 

Uses of JMenu in javax.swing
 

Methods in javax.swing that return JMenu
 JMenu JMenuBar.add(JMenu c)
          Appends the specified menu to the end of the menu bar.
 JMenu JMenuBar.getHelpMenu()
          Gets the help menu for the menu bar.
 JMenu JMenuBar.getMenu(int index)
          Returns the menu at the specified position in the menu bar.
 

Methods in javax.swing with parameters of type JMenu
 JMenu JMenuBar.add(JMenu c)
          Appends the specified menu to the end of the menu bar.
 void JMenuBar.setHelpMenu(JMenu menu)
          Sets the help menu that appears when the user selects the "help" option in the menu bar.
 

Uses of JMenu in javax.swing.plaf.basic
 

Fields in javax.swing.plaf.basic declared as JMenu
 JMenu BasicMenuUI.ChangeHandler.menu
           
protected  JMenu BasicInternalFrameTitlePane.windowMenu
           
 

Methods in javax.swing.plaf.basic that return JMenu
protected  JMenu BasicInternalFrameTitlePane.createSystemMenu()
           
 

Methods in javax.swing.plaf.basic with parameters of type JMenu
protected  void BasicInternalFrameTitlePane.addSystemMenuItems(JMenu systemMenu)
           
protected  void BasicMenuUI.setupPostTimer(JMenu menu)
           
 

Constructors in javax.swing.plaf.basic with parameters of type JMenu
BasicMenuUI.ChangeHandler(JMenu m, BasicMenuUI ui)
           
 

Uses of JMenu in javax.swing.plaf.metal
 

Methods in javax.swing.plaf.metal with parameters of type JMenu
protected  void MetalInternalFrameTitlePane.addSystemMenuItems(JMenu systemMenu)
          Override the parent's method to do nothing.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.