Determining the Available Look and Feels
UIManager.LookAndFeelInfo[] info = UIManager.getInstalledLookAndFeels();
for (int i=0; i<info.length; i++) {
// Get the name of the look and feel that is suitable for display to the user
String humanReadableName = info[i].getName();
String className = info[i].getClassName();
// The className is used with UIManager.setLookAndFeel()
// See Getting and Setting a Look and Feel
}
Post a comment