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());
}
}
}
|