package com.mindprod.example;
import javax.swing.UIManager;
import static java.lang.System.*;
/**
* example use of Swing Look and Feel selection. Display all installed Look and Feels.
*
* @author Roedy Green, Canadian Mind Products
* @version 1.0 2009-01-01 initial version
* @since 2009-01-01
*/
public final class TestInstalledLookAndFeels
{
/**
* TEST harness to demonstrate how you discover the installed look and feels.
*
* @param args not used
*/
public static void main( String[] args )
{
for ( UIManager.LookAndFeelInfo info : UIManager
.getInstalledLookAndFeels() )
{
out.println( "name: "
+ info.getName()
+ " className: "
+ info.getClassName() );
}
}
}