Parts of this article (those related to Links to Java.net, Examples of Looks and Feels,) need to be updated. Please help update this article to reflect recent events or newly available information. (May 2020)

Pluggable look and feel is a mechanism used in the Java Swing widget toolkit allowing to change the look and feel of the graphical user interface at runtime.

Swing allows an application to specialize the look and feel of widgets by modifying the default (via runtime parameters), deriving from an existing one, by creating one from scratch, or, beginning with J2SE 5.0, by using the skinnable synth look and feel, which is configured with an XML property file. The look and feel can be changed at runtime.

Architecture

The corresponding API includes:

Examples of look and feels

Platform look and feels

The default OceanTheme Metal look and feel in JDK 5

The Java platform comes with several bundled look and feels:[1]

Third-party look and feels

Numerous other look and feels have been developed by third parties, such as:

See also

References

  1. ^ "Java Tutorials: Available Look and Feels". Sun Microsystems. 2008-02-14. Archived from the original on 2010-08-22. Retrieved 2008-05-25.
  2. ^ Potts, Jasper (2007-12-07). "Nimbus Category". Archived from the original on 2008-05-17. Retrieved 2008-05-25.
  3. ^ "Nimbus". Sun Microsystems. Archived from the original on 2008-05-13. Retrieved 2008-05-25.
  4. ^ "Available Look and Feels". Sun Microsystems. Archived from the original on 2008-05-29. Retrieved 2008-05-25.
  5. ^ "GTK Native L&F Fidelity". Sun Microsystems. Archived from the original on 2008-04-29. Retrieved 2008-05-25.
  6. ^ "XP L&F does not work on Windows Vista (Longhorn) - needs to use uxtheme api". Sun Microsystems. Archived from the original on 2008-04-29. Retrieved 2008-05-25.