Try the UIManager.getAuxiliaryLookAndFeels()
public static LookAndFeel[] getAuxiliaryLookAndFeels()
See what you've got.
Sorry, it's really getInstalledLookAndFeels() you probably want ...
import javax.swing.UIManager;
public class GetLookAndFeels {
public static void main(String[] argv) {
UIManager.LookAndFeelInfo[] lafis = UIManager.getInstalledLookAndFeels();
if (lafis != null) {
for (int i = 0; i < lafis.length; i++)
System.out.println( lafis[i] != null ? ""+lafis[i] : "NuLL");
}
}
}
Message was edited by:
abillconsl
I am waiting for Java 7 where the Sanjaya LAF will be introduced.
It will have really big, spiky JButtons but they will only generate events part of the time. After some random period, they will complete fail to work.
[url #" style="display: block; background-image: url( 'http://media.philly.com/images/300*337/177254a4-f790-40fc-b667-9252734a4922.jpg'); width: 300px; height: 337px] [/url]