Uses of Class javax.swing.LookAndFeel (Java SE 26 & JDK 26)
Description: use: module: java.desktop, package: javax.swing, class: LookAndFeel

# Uses of Class
javax.swing.LookAndFeel

Packages that use LookAndFeel
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.

- ## Uses of LookAndFeel in javax.swing

  Methods in javax.swing that return LookAndFeel
  Modifier and Type
  Method
  Description
  `static LookAndFeel`
  UIManager.`createLookAndFeel(String name)`
  Creates a supported built-in Java `LookAndFeel` specified by the given `L&F name` name.
  `static LookAndFeel[]`
  UIManager.`getAuxiliaryLookAndFeels()`
  Returns the list of auxiliary look and feels (can be `null`).
  `static LookAndFeel`
  UIManager.`getLookAndFeel()`
  Returns the current look and feel or `null`.
  Methods in javax.swing with parameters of type LookAndFeel
  Modifier and Type
  Method
  Description
  `static void`
  UIManager.`addAuxiliaryLookAndFeel(LookAndFeel laf)`
  Adds a `LookAndFeel` to the list of auxiliary look and feels.
  `static boolean`
  UIManager.`removeAuxiliaryLookAndFeel(LookAndFeel laf)`
  Removes a `LookAndFeel` from the list of auxiliary look and feels.
  `static void`
  UIManager.`setLookAndFeel(LookAndFeel newLookAndFeel)`
  Sets the current look and feel to `newLookAndFeel`.

- ## Uses of LookAndFeel in javax.swing.plaf.basic

  Subclasses of LookAndFeel in javax.swing.plaf.basic
  Modifier and Type
  Class
  Description
  `class`
  `BasicLookAndFeel`
  A base class to use in creating a look and feel for Swing.

- ## Uses of LookAndFeel in javax.swing.plaf.metal

  Subclasses of LookAndFeel in javax.swing.plaf.metal
  Modifier and Type
  Class
  Description
  `class`
  `MetalLookAndFeel`
  The Java Look and Feel, otherwise known as Metal.

- ## Uses of LookAndFeel in javax.swing.plaf.multi

  Subclasses of LookAndFeel in javax.swing.plaf.multi
  Modifier and Type
  Class
  Description
  `class`
  `MultiLookAndFeel`
  A multiplexing look and feel that allows more than one UI to be associated with a component at the same time.

- ## Uses of LookAndFeel in javax.swing.plaf.nimbus

  Subclasses of LookAndFeel in javax.swing.plaf.nimbus
  Modifier and Type
  Class
  Description
  `class`
  `NimbusLookAndFeel`
  The NimbusLookAndFeel class.

- ## Uses of LookAndFeel in javax.swing.plaf.synth

  Subclasses of LookAndFeel in javax.swing.plaf.synth
  Modifier and Type
  Class
  Description
  `class`
  `SynthLookAndFeel`
  SynthLookAndFeel provides the basis for creating a customized look and feel.