Share this page 

Set the LookAndFeelTag(s): Swing

By default, Swing will use the Metal LookAndFeel. To set the LookAndFeel to the current OS under which the JVM is running, use this snippet :
  try {
  catch (Exception e) { 

Even with the new naming mecanism in JDK1.2, some LookAndFeel packages are keeping the oldname. (no change) (no change) (no change)
Metaljavax.swing.plaf.metal (new)
Basicjavax.swing.plaf.basic (new)
Multijavax.swing.plaf.multi (new)

These packages are located in the rt.jar file.