List of usage examples for javax.swing UIManager getAuxiliaryLookAndFeels
public static LookAndFeel[] getAuxiliaryLookAndFeels()
null
). From source file:Main.java
public static void main(String[] args) { System.out.println(" " + UIManager.getLookAndFeel().getName()); UIManager.LookAndFeelInfo[] inst = UIManager.getInstalledLookAndFeels(); for (int i = 0; i < inst.length; i++) { System.out.println(" " + inst[i].getName()); }/* w w w . j av a 2 s . c om*/ LookAndFeel[] aux = UIManager.getAuxiliaryLookAndFeels(); if (aux != null) { for (int i = 0; i < aux.length; i++) { System.out.println(" " + aux[i].getName()); } } else { System.out.println(" <NONE>"); } System.out.println(" " + UIManager.getCrossPlatformLookAndFeelClassName()); System.out.println(" " + UIManager.getSystemLookAndFeelClassName()); }
From source file:UIManagerDefaults.java
public static void main(String[] args) { System.out.println("Default L&F:"); System.out.println(" " + UIManager.getLookAndFeel().getName()); UIManager.LookAndFeelInfo[] inst = UIManager.getInstalledLookAndFeels(); System.out.println("Installed L&Fs: "); for (int i = 0; i < inst.length; i++) { System.out.println(" " + inst[i].getName()); }// www . j a va 2 s. co m LookAndFeel[] aux = UIManager.getAuxiliaryLookAndFeels(); System.out.println("Auxiliary L&Fs: "); if (aux != null) { for (int i = 0; i < aux.length; i++) { System.out.println(" " + aux[i].getName()); } } else { System.out.println(" <NONE>"); } System.out.println("Cross-Platform:"); System.out.println(UIManager.getCrossPlatformLookAndFeelClassName()); System.out.println("System:"); System.out.println(UIManager.getSystemLookAndFeelClassName()); System.exit(0); }