This class presented below simply prints the default values used by Swing.

Java Code:
public class UIDefaults {
    public static void main(String[] args) {
       try {
          Set defaults = UIManager.getLookAndFeelDefaults().entrySet();
          // this TreeSet will hold the sorted properties
          TreeSet ts = new TreeSet(new Comparator() {
             public int compare(Object a, Object b) {
                Map.Entry ea = (Map.Entry) a;
                Map.Entry eb = (Map.Entry) b;
                return
                  ((String) ea.getKey()).compareTo(((String)eb.getKey()));
             }
          });
          ts.addAll(defaults);
          for (Iterator i = ts.iterator(); i.hasNext();) {
             Map.Entry entry = (Map.Entry) i.next();
             System.out.print(entry.getKey() + " = " );
             System.out.println(entry.getValue());
          }


       } catch (Exception ex) {
          ex.printStackTrace();
       }
    }
}