| 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected JMenuBar |
JRootPane.menuBar
The menu bar.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
JDialog.getJMenuBar()
Returns the menubar set on this dialog.
|
JMenuBar |
JFrame.getJMenuBar()
Returns the menubar set on this frame.
|
JMenuBar |
JApplet.getJMenuBar()
Returns the menubar set on this applet.
|
JMenuBar |
JRootPane.getMenuBar()
Deprecated.
As of Swing version 1.0.3 replaced by
getJMenuBar().
|
JMenuBar |
JInternalFrame.getMenuBar()
Deprecated.
As of Swing version 1.0.3, replaced by
getJMenuBar().
|
| Modifier and Type | Method and Description |
|---|---|
void |
JRootPane.setJMenuBar(JMenuBar
Adds or changes the menu bar used in the layered pane.
|
void |
JInternalFrame.setJMenuBar(JMenuBar
Sets the
menuBar property for this
JInternalFrame.
|
void |
JDialog.setJMenuBar(JMenuBar
Sets the menubar for this dialog.
|
void |
JFrame.setJMenuBar(JMenuBar
Sets the menubar for this frame.
|
void |
JApplet.setJMenuBar(JMenuBar
Sets the menubar for this applet.
|
void |
JRootPane.setMenuBar(JMenuBar
Deprecated.
As of Swing version 1.0.3 replaced by
setJMenuBar(JMenuBar menu).
|
void |
JInternalFrame.setMenuBar(JMenuBar
Deprecated.
As of Swing version 1.0.3 replaced by
setJMenuBar(JMenuBar m).
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicInternalFrameTitlePane
This class should be treated as a "protected" inner class.
|
| Modifier and Type | Field and Description |
|---|---|
protected JMenuBar |
BasicMenuBarUI.menuBar
|
protected JMenuBar |
BasicInternalFrameTitlePane.menuBar
|
| Modifier and Type | Method and Description |
|---|---|
protected JMenuBar |
BasicInternalFrameTitlePane.createSystemMenuBar()
|