MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

/*
javax.swing.plaf.metal.MetalLookAndFeel
com.sun.java.swing.plaf.motif.MotifLookAndFeel
com.sun.java.swing.plaf.windows.WindowsLookAndFeel
com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel
*/

import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;

public class MainClass {

    public static void main(String[] args) throws Exception {
        UIManager.LookAndFeelInfo[] infos = UIManager.getInstalledLookAndFeels();
        for (int i = 0; i < infos.length; i++) {
            LookAndFeelInfo info = infos[i];
            System.out.println(info.getClassName());

        }

    }
}