Package com.zycus.trial

Source Code of com.zycus.trial.ListUIManagerProperties

package com.zycus.trial;

import java.util.Enumeration;

import javax.swing.UIDefaults;
import javax.swing.UIManager;

public class ListUIManagerProperties {
  public static void main(String args[]) throws Exception {
    UIManager.LookAndFeelInfo looks[] = UIManager.getInstalledLookAndFeels();

    for (UIManager.LookAndFeelInfo info : looks) {
      UIManager.setLookAndFeel(info.getClassName());

      UIDefaults defaults = UIManager.getDefaults();
      Enumeration newKeys = defaults.keys();

      while (newKeys.hasMoreElements()) {
        Object obj = newKeys.nextElement();
        System.out.printf("%50s : %s\n", obj, UIManager.get(obj));
      }
    }
  }
}
TOP

Related Classes of com.zycus.trial.ListUIManagerProperties

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.