UIManager: getLookAndFeelDefaults() : UIManager « javax.swing « Java by API






UIManager: getLookAndFeelDefaults()

  



import java.util.Iterator;
import java.util.Map;
import java.util.Set;

import javax.swing.UIManager;

public class Main {
  public static void main(String[] args) throws Exception {
    Set defaults = UIManager.getLookAndFeelDefaults().entrySet();
    for (Iterator i = defaults.iterator(); i.hasNext();) {
      Map.Entry entry = (Map.Entry) i.next();
      System.out.print(entry.getKey() + " = ");
      System.out.println(entry.getValue());
    }

  }
}

   
    
  








Related examples in the same category

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