Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of JavaLessons.com

The JApplet appears in its default look&feel, the Java look&feel, previously known as Metal.

First click, the l&f changes to the Windows l&f.

Next click, again the default l&f.

Then, the Motif l&f (Sun Solaris e.o.)

Then, the station's l&f .

To arrange for all components to be painted accordingly, we must make this call.

=========

NOTES

=========

This illustrates only how the look and feel CAN be changed. Not something you would do repeatedly, but initially only.

However, you should realize, that the DEFAULT look and feel is NOT the look and feel of the system, that the user is accustomed to.

=========

If nr equals 4, it's set to zero, else it keeps its value.

.