UIManager.LookAndFeelInfo: getClassName() (2) : UIManager « javax.swing « Java by API






UIManager.LookAndFeelInfo: getClassName() (2)

  
/*
javax.swing.plaf.metal.MetalLookAndFeel
com.sun.java.swing.plaf.motif.MotifLookAndFeel
com.sun.java.swing.plaf.windows.WindowsLookAndFeel
com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel
*/

import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;

public class MainClass {

  public static void main(String[] args) throws Exception {
    UIManager.LookAndFeelInfo[] infos = UIManager.getInstalledLookAndFeels();
    for (int i = 0; i < infos.length; i++) {
      LookAndFeelInfo info = infos[i];
      System.out.println(info.getClassName());
     
    } 

  }
}
           
         
    
  








Related examples in the same category

1.UIManager.LookAndFeelInfo: getClassName()
2.UIManager.LookAndFeelInfo: getName()
3.UIManager: get(Object key)
4.UIManager: getBorder(Object key)
5.UIManager: getCrossPlatformLookAndFeelClassName()
6.UIManager: getInstalledLookAndFeels()
7.UIManager: getLookAndFeelDefaults()
8.UIManager: getSystemLookAndFeelClassName()
9.UIManager: put(Object key, Object value)
10.UIManager: setLookAndFeel(String className)