View RSS Feed

fatabass

Listing the installed look and feels

Rating: 1 votes, 1.00 average.
by , 02-15-2012 at 08:55 PM (862 Views)
Java Code:
import javax.swing.UIManager;

public class TestClass {

	public static void main(String args[]) {
		UIManager.LookAndFeelInfo laf[] = UIManager
				.getInstalledLookAndFeels();
		for (int i = 0, n = laf.length; i < n; i++) {
			System.out.print("LAF Name: " + laf[i].getName() + "\t");
			System.out.println("  LAF Class name: "
					+ laf[i].getClassName());
		}
		System.exit(0);
	}
}

Submit "Listing the installed look and feels" to Facebook Submit "Listing the installed look and feels" to Digg Submit "Listing the installed look and feels" to del.icio.us Submit "Listing the installed look and feels" to StumbleUpon Submit "Listing the installed look and feels" to Google

Tags: None Add / Edit Tags
Categories
Uncategorized

Comments