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 e867 获取和设置外观
}
Related Examples |