Pluggable look and feel

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. Retrieved 2008-05-25.
  2. Potts, Jasper (2007-12-07). "Nimbus Category". 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. Retrieved 2008-05-25.
  5. "GTK Native L&F Fidelity". Sun Microsystems. Retrieved 2008-05-25.
  6. "XP L&F does not work on Windows Vista (Longhorn) - needs to use uxtheme api". Sun Microsystems. Retrieved 2008-05-25.

External links

This article is issued from Wikipedia - version of the Tuesday, April 28, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.