Trail: Graphical User Interfaces
Lesson: Swing Features
Pluggable Look and Feel
Home Page > Graphical User Interfaces > Swing Features

Pluggable Look and Feel

The Swing toolkit allows you to decide how to configure the particular look and feel of your application. If you don't specify a look and feel, the Swing UI manager figures out which one to use. The options for setting a look and feel include:

As shown in the following figures, PasswordStore offers a choice of three look and feels. The Alloy look and feel has been provided courtesy of Incors.

This is a picture of the PasswordStore demo in the Java look and feel.

Java look and feel

This is a picture of the PasswordStore demo in the Windows look and feel.

Windows look and feel

This is a picture of the PasswordStore demo in the CDE/Motif look and feel.

CDE/Motif look and feel

This is a picture of the PasswordStore demo in the Alloy default look and feel.

Default Alloy look and feel


Problems with the examples? Try Compiling and Running the Examples: FAQs.
Complaints? Compliments? Suggestions? Give us your feedback.

Previous page: A Visual Guide to Swing Components (Windows Look and Feel)
Next page: Data Transfer