Uses of Class
javax.swing.JMenuBar
Packages that use JMenuBar
包
描述
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides user interface objects built according to the Basic look and feel.
-
Uses of JMenuBar in java.awt
修饰符和类方法描述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 JMenuBarMethods in javax.swing that return JMenuBar修饰符和类方法描述JApplet.getJMenuBar()Deprecated, for removal: This API element is subject to removal in a future version.Returns the menubar set on this applet.JDialog.getJMenuBar()Returns the menubar set on this dialog.JFrame.getJMenuBar()Returns the menubar set on this frame.JInternalFrame.getJMenuBar()Returns the currentJMenuBarfor thisJInternalFrame, ornullif no menu bar has been set.JRootPane.getJMenuBar()Returns the menu bar from the layered pane.JInternalFrame.getMenuBar()Deprecated.JRootPane.getMenuBar()Deprecated.As of Swing version 1.0.3 replaced bygetJMenuBar().Methods in javax.swing with parameters of type JMenuBar修饰符和类方法描述voidJApplet.setJMenuBar(JMenuBar menuBar) Deprecated, for removal: This API element is subject to removal in a future version.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修饰符和类Class描述classThis class should be treated as a "protected" inner class.Fields in javax.swing.plaf.basic declared as JMenuBar修饰符和类Field描述protected JMenuBarBasicInternalFrameTitlePane.menuBarThe instance ofJMenuBar.protected JMenuBarBasicMenuBarUI.menuBarThe instance ofJMenuBar.Methods in javax.swing.plaf.basic that return JMenuBar修饰符和类方法描述protected JMenuBarBasicInternalFrameTitlePane.createSystemMenuBar()Returns a new instance ofJMenuBar.
getJMenuBar().