// V A R I O U S   L O O K   &   F E E L S

// look and feel that mimics the native OS UI
// requires JDK 1.3+
UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );

// cross platform Look and Feel (metal)
// requires JDK 1.3+
UIManager.setLookAndFeel( UIManager.getCrossPlatformLookAndFeelClassName() );

// windows look and feel
// requires JDK 1.3+
UIManager.setLookAndFeel( new com.sun.java.swing.plaf.windows.WindowsLookAndFeel() );

// windows classic look and feel
// requires JDK 1.5+
UIManager.setLookAndFeel( new com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel() );

// motif look and feel
// requires JDK 1.3+
UIManager.setLookAndFeel( new com.sun.java.swing.plaf.motif.MotifLookAndFeel() );

// metal look and feel
// requires JDK 1.3+
UIManager.setLookAndFeel( new javax.swing.plaf.metal.MetalLookAndFeel() );

// MacIntosh Look and feel, by Sun. Needs real Mac. Not bundled with Windows JDK.
UIManager.setLookAndFeel( "com.sun.java.swing.plaf.mac.MacLookAndFeel" );

// MacIntosh Look and feel, download from http://www.ing.unitn.it/~luttero/javaonMac/
// requires JDK 1.3+
UIManager.setLookAndFeel( new it.unitn.ing.swing.plaf.macos.MacOSLookAndFeel() );

// Nimbus Look and Feel
// requires JDK 1.6.0_10+
UIManager.setLookAndFeel( new com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel() );

// Linux GTK Look and feel, not bundled with Windows JDK.
// requires JDK 1.5+
UIManager.setLookAndFeel( new com.sun.java.swing.plaf.gtk.GTKLooktAndFeel() );

// Alloy look and feel. Third party. You must buy from http://lookandfeel.incors.com/
// requires JDK 1.3+
com.incors.plaf.alloy.AlloyLookAndFeel.setProperty( "alloy.licenseCode", "xxxxxxx");
UIManager.setLookAndFeel( new com.incors.plaf.alloy.AlloyLookAndFeel() );

// QuaQua -- Accurate free, third-party Mac OS X emulation.
// Only permitted on Mac OS, except for development testing.
// Must download zip from http://www.randelshofer.ch/quaqua/
// Sure must install enclosed quaqua.jar in ~/Library/Java/Extensions
// requires JDK 1.4+
QuaquaManager.setProperty( "Quaqua.tabLayoutPolicy", "wrap" );
UIManager.put( "ClassLoader", getClass().getClassLoader() );
UIManager.setLookAndFeel( "ch.randelshofer.quaqua.QuaquaLookAndFeel" );

// Skin LF, download from http://www.l2fprod.com/skinlf/
// requires JDK 1.2+
Skin theSkinToUse = SkinLookAndFeel.loadThemePack( "themepack.zip" );
SkinLookAndFeel.setSkin( theSkinToUse );
UIManager.setLookAndFeel( new SkinLookAndFeel() );

// Pgs, looks like Vista, download from https://pgslookandfeel.dev.java.net/
// requires JDK 1.4+
UIManager.setLookAndFeel( "com.pagosoft.plaf.PgsLookAndFeel" );
// Is your UI already created? So you will have to update the component-tree
// of your current frames.
SwingUtilities.updateComponentTreeUI( yourFrame );