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.
|
javax.swing.plaf.metal |
Provides user interface objects built according to
the Java look and feel (once codenamed Metal),
which is the default look and feel.
|
Modifier and Type | Method and Description |
---|---|
JMenu |
JMenuBar.add(JMenu c)
Appends the specified menu to the end of the menu bar.
|
JMenu |
JMenuBar.getHelpMenu()
Gets the help menu for the menu bar.
|
JMenu |
JMenuBar.getMenu(int index)
Returns the menu at the specified position in the menu bar.
|
Modifier and Type | Method and Description |
---|---|
JMenu |
JMenuBar.add(JMenu c)
Appends the specified menu to the end of the menu bar.
|
void |
JMenuBar.setHelpMenu(JMenu menu)
Sets the help menu that appears when the user selects the
"help" option in the menu bar.
|
Modifier and Type | Field and Description |
---|---|
JMenu |
BasicMenuUI.ChangeHandler.menu |
protected JMenu |
BasicInternalFrameTitlePane.windowMenu |
Modifier and Type | Method and Description |
---|---|
protected JMenu |
BasicInternalFrameTitlePane.createSystemMenu() |
Modifier and Type | Method and Description |
---|---|
protected void |
BasicInternalFrameTitlePane.addSystemMenuItems(JMenu systemMenu) |
protected void |
BasicMenuUI.setupPostTimer(JMenu menu) |
Constructor and Description |
---|
ChangeHandler(JMenu m,
BasicMenuUI ui) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetalInternalFrameTitlePane.addSystemMenuItems(JMenu systemMenu)
Override the parent's method to do nothing.
|
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, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.