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.
|
javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is
delegated.
|
Modifier and Type | Method and Description |
---|---|
MenuBarUI |
JMenuBar.getUI()
Returns the menubar's current UI.
|
Modifier and Type | Method and Description |
---|---|
void |
JMenuBar.setUI(MenuBarUI ui)
Sets the L&F object that renders this component.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicMenuBarUI
A default L&F implementation of MenuBarUI.
|
Modifier and Type | Class and Description |
---|---|
class |
MetalMenuBarUI
Metal implementation of
MenuBarUI . |
Modifier and Type | Class and Description |
---|---|
class |
MultiMenuBarUI
A multiplexing UI used to combine
MenuBarUI s. |
Modifier and Type | Class and Description |
---|---|
class |
SynthMenuBarUI
Provides the Synth L&F UI delegate for
JMenuBar . |
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, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.