| 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.nimbus | Provides user interface objects built according to the cross-platform
Nimbus look and feel. | 
| javax.swing.plaf.synth | 
      Synth is a skinnable look and feel in which all painting is
      delegated. | 
| Modifier and Type | Method and Description | 
|---|---|
| static UIDefaults | UIManager. getDefaults()Returns the defaults. | 
| UIDefaults | LookAndFeel. getDefaults()Returns the look and feel defaults. | 
| static UIDefaults | UIManager. getLookAndFeelDefaults()Returns the  UIDefaultsfrom the current look and feel,
 that were obtained at the time the look and feel was installed. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | UIDefaults.LazyValue. createValue(UIDefaults table)Creates the actual value retrieved from the  UIDefaultstable. | 
| Object | UIDefaults.ActiveValue. createValue(UIDefaults table)Creates the value retrieved from the  UIDefaultstable. | 
| Object | UIDefaults.ProxyLazyValue. createValue(UIDefaults table)Creates the value retrieved from the  UIDefaultstable. | 
| Object | UIDefaults.LazyInputMap. createValue(UIDefaults table)Creates an  InputMapwith the bindings that are
 passed in. | 
| Modifier and Type | Method and Description | 
|---|---|
| UIDefaults | BasicLookAndFeel. getDefaults()Returns the look and feel defaults. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | BasicLookAndFeel. initClassDefaults(UIDefaults table)Populates  tablewith mappings fromuiClassIDto the
 fully qualified name of the ui class. | 
| protected void | BasicLookAndFeel. initComponentDefaults(UIDefaults table)Populates  tablewith the defaults for the basic look and
 feel. | 
| protected void | BasicLookAndFeel. initSystemColorDefaults(UIDefaults table)Populates  tablewith system colors. | 
| protected void | BasicLookAndFeel. loadSystemColors(UIDefaults table,
                String[] systemColors,
                boolean useNative)Populates  tablewith thename-colorpairs insystemColors. | 
| Modifier and Type | Method and Description | 
|---|---|
| UIDefaults | MetalLookAndFeel. getDefaults()Returns the look and feel defaults. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | OceanTheme. addCustomEntriesToTable(UIDefaults table)Add this theme's custom entries to the defaults table. | 
| void | MetalTheme. addCustomEntriesToTable(UIDefaults table)Adds values specific to this theme to the defaults table. | 
| protected void | MetalLookAndFeel. initClassDefaults(UIDefaults table)Populates  tablewith mappings fromuiClassIDto
 the fully qualified name of the ui class. | 
| protected void | MetalLookAndFeel. initComponentDefaults(UIDefaults table)Populates  tablewith the defaults for metal. | 
| protected void | MetalLookAndFeel. initSystemColorDefaults(UIDefaults table)Populates  tablewith system colors. | 
| Modifier and Type | Method and Description | 
|---|---|
| UIDefaults | MultiLookAndFeel. getDefaults()Creates, initializes, and returns
 the look and feel specific defaults. | 
| Modifier and Type | Method and Description | 
|---|---|
| UIDefaults | NimbusLookAndFeel. getDefaults()Returns the defaults for this SynthLookAndFeel. | 
| Modifier and Type | Method and Description | 
|---|---|
| UIDefaults | SynthLookAndFeel. getDefaults()Returns the defaults for this SynthLookAndFeel. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.