All pastes #743015 Raw Edit

Unbenannt

public text v1 · immutable
·published 2007-10-20 00:20 UTC
rendered paste body
import javax.swing.UIManager;
class test {
public static void main(String[] args){
        System.out.println(UIManager.getInstalledLookAndFeels());
        }
}


/// Die Version vom SimonAW:

import javax.swing.*;

public class Test {
	public static void main( String argv[] ) {
		UIManager.LookAndFeelInfo l[] =
			UIManager.getInstalledLookAndFeels();

		System.out.println("INFO: " + l.length + " LAFs installed" );

		for ( int i=0; i<l.length; i++ ) {
			System.out.println( (i+1) + ": " +
					l[i].getName() );
		}
	}
}