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 | 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 | 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 | Description |
---|---|---|
JMenu |
BasicMenuUI.ChangeHandler.menu |
The instance of
JMenu . |
protected JMenu |
BasicInternalFrameTitlePane.windowMenu |
The instance of
JMenu . |
Modifier and Type | Method | Description |
---|---|---|
protected JMenu |
BasicInternalFrameTitlePane.createSystemMenu() |
Returns a new instance of
JMenu . |
Modifier and Type | Method | Description |
---|---|---|
protected void |
BasicInternalFrameTitlePane.addSystemMenuItems(JMenu systemMenu) |
Adds system menu items to
systemMenu . |
protected void |
BasicMenuUI.setupPostTimer(JMenu menu) |
Sets timer to the
menu . |
Constructor | Description |
---|---|
ChangeHandler(JMenu m,
BasicMenuUI ui) |
Constructs a new instance of
ChangeHandler . |
Modifier and Type | Method | 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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b161-1