Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

Uses of Class
javax.swing.JMenuBar

Packages that use JMenuBar
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
 

Uses of JMenuBar in javax.swing
 

Fields in javax.swing declared as JMenuBar
protected  JMenuBar JRootPane.menuBar
          The menu bar.
 

Methods in javax.swing that return JMenuBar
 JMenuBar JRootPane.getJMenuBar()
          Returns the menu bar from the layered pane.
 JMenuBar JInternalFrame.getJMenuBar()
          Returns the current JMenuBar for this JInternalFrame, or null if no menu bar has been set.
 JMenuBar JFrame.getJMenuBar()
          Returns the menubar set on this frame.
 

Methods in javax.swing with parameters of type JMenuBar
 void JRootPane.setJMenuBar(JMenuBar menu)
          Adds or changes the menu bar used in the layered pane.
 void JInternalFrame.setJMenuBar(JMenuBar m)
          Sets the menuBar property for this JInternalFrame.
 void JFrame.setJMenuBar(JMenuBar menubar)
          Sets the menubar for this frame.
 


JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.