Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

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

    }
}