Uses of Class
javax.swing.JMenuBar
-
Packages that use JMenuBar Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.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 java.awt
Methods in java.awt with parameters of type JMenuBar Modifier and Type Method Description voidDesktop. setDefaultMenuBar(JMenuBar menuBar)Sets the default menu bar to use when there are no active frames. -
Uses of JMenuBar in javax.swing
Fields in javax.swing declared as JMenuBar Modifier and Type Field Description protected JMenuBarJRootPane. menuBarThe menu bar.Methods in javax.swing that return JMenuBar Modifier and Type Method Description JMenuBarJApplet. getJMenuBar()Deprecated.Returns the menubar set on this applet.JMenuBarJDialog. getJMenuBar()Returns the menubar set on this dialog.JMenuBarJFrame. getJMenuBar()Returns the menubar set on this frame.JMenuBarJInternalFrame. getJMenuBar()Returns the currentJMenuBarfor thisJInternalFrame, ornullif no menu bar has been set.JMenuBarJRootPane. getJMenuBar()Returns the menu bar from the layered pane.JMenuBarJInternalFrame. getMenuBar()Deprecated.As of Swing version 1.0.3, replaced bygetJMenuBar().JMenuBarJRootPane. getMenuBar()Deprecated.As of Swing version 1.0.3 replaced bygetJMenuBar().Methods in javax.swing with parameters of type JMenuBar Modifier and Type Method Description voidJApplet. setJMenuBar(JMenuBar menuBar)Deprecated.Sets the menubar for this applet.voidJDialog. setJMenuBar(JMenuBar menu)Sets the menubar for this dialog.voidJFrame. setJMenuBar(JMenuBar menubar)Sets the menubar for this frame.voidJInternalFrame. setJMenuBar(JMenuBar m)Sets themenuBarproperty for thisJInternalFrame.voidJRootPane. setJMenuBar(JMenuBar menu)Adds or changes the menu bar used in the layered pane.voidJInternalFrame. setMenuBar(JMenuBar m)Deprecated.As of Swing version 1.0.3 replaced bysetJMenuBar(JMenuBar m).voidJRootPane. setMenuBar(JMenuBar menu)Deprecated.As of Swing version 1.0.3 replaced bysetJMenuBar(JMenuBar menu). -
Uses of JMenuBar in javax.swing.plaf.basic
Subclasses of JMenuBar in javax.swing.plaf.basic Modifier and Type Class Description classBasicInternalFrameTitlePane.SystemMenuBarThis class should be treated as a "protected" inner class.Fields in javax.swing.plaf.basic declared as JMenuBar Modifier and Type Field Description protected JMenuBarBasicInternalFrameTitlePane. menuBarThe instance ofJMenuBar.protected JMenuBarBasicMenuBarUI. menuBarThe instance ofJMenuBar.Methods in javax.swing.plaf.basic that return JMenuBar Modifier and Type Method Description protected JMenuBarBasicInternalFrameTitlePane. createSystemMenuBar()Returns a new instance ofJMenuBar.
-