Package com.polysfactory.glassremote

Source Code of com.polysfactory.glassremote.App

package com.polysfactory.glassremote;

import javax.swing.SwingUtilities;

import com.polysfactory.glassremote.ui.MainFrame;

public class App {
    public static final String NAME = "GlassRemote";

    public static boolean DEBUG = false;

    public static void main(String[] args) {
        DEBUG = "true".equalsIgnoreCase(System.getProperty("debug"));
        if (DEBUG) {
            System.out.println("Debug mode is on.");
        }

        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                MainFrame mainFrame = new MainFrame();
                mainFrame.setLocationRelativeTo(null);
                mainFrame.setVisible(true);
                mainFrame.setFocusable(true);
                mainFrame.selectDevice();
            }
        });
    }
}
TOP

Related Classes of com.polysfactory.glassremote.App

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.