Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
javax.swing.JMenuBar

Packages that use JMenuBar
Package Description
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. 
 

Uses of JMenuBar in javax.swing
 

Fields in javax.swing declared as JMenuBar
Modifier and Type Field and Description
protected  JMenuBar JRootPane.menuBar
          The menu bar.
 

Methods in javax.swing that return JMenuBar
Modifier and Type Method and Description
 JMenuBar JApplet.getJMenuBar()
          Returns the menubar set on this applet.
 JMenuBar JInternalFrame.getJMenuBar()
          Returns the current JMenuBar for this JInternalFrame, or null if no menu bar has been set.
 JMenuBar JDialog.getJMenuBar()
          Returns the menubar set on this dialog.
 JMenuBar JRootPane.getJMenuBar()
          Returns the menu bar from the layered pane.
 JMenuBar JFrame.getJMenuBar()
          Returns the menubar set on this frame.
 JMenuBar JInternalFrame.getMenuBar()
          Deprecated. As of Swing version 1.0.3, replaced by getJMenuBar().
 JMenuBar JRootPane.getMenuBar()
          Deprecated. As of Swing version 1.0.3 replaced by getJMenuBar().
 

Methods in javax.swing with parameters of type JMenuBar
Modifier and Type Method and Description
 void JApplet.setJMenuBar(JMenuBar menuBar)
          Sets the menubar for this applet.
 void JInternalFrame.setJMenuBar(JMenuBar m)
          Sets the menuBar property for this JInternalFrame.
 void JDialog.setJMenuBar(JMenuBar menu)
          Sets the menubar for this dialog.
 void JRootPane.setJMenuBar(JMenuBar menu)
          Adds or changes the menu bar used in the layered pane.
 void JFrame.setJMenuBar(JMenuBar menubar)
          Sets the menubar for this frame.
 void JInternalFrame.setMenuBar(JMenuBar m)
          Deprecated. As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar m).
 void JRootPane.setMenuBar(JMenuBar menu)
          Deprecated. As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar menu).
 

Uses of JMenuBar in javax.swing.plaf.basic
 

Subclasses of JMenuBar in javax.swing.plaf.basic
Modifier and Type Class and Description
 class BasicInternalFrameTitlePane.SystemMenuBar
          This class should be treated as a "protected" inner class.
 

Fields in javax.swing.plaf.basic declared as JMenuBar
Modifier and Type Field and Description
protected  JMenuBar BasicInternalFrameTitlePane.menuBar
           
protected  JMenuBar BasicMenuBarUI.menuBar
           
 

Methods in javax.swing.plaf.basic that return JMenuBar
Modifier and Type Method and Description
protected  JMenuBar BasicInternalFrameTitlePane.createSystemMenuBar()
           
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.