Package org.ifmo.clgp

Source Code of org.ifmo.clgp.Main

package org.ifmo.clgp;

import java.io.IOException;
import org.ifmo.clgp.controller.Controller;
import org.ifmo.clgp.model.FileChecker;
import org.ifmo.clgp.model.Model;
import org.ifmo.clgp.model.settings.Settings;
import org.ifmo.clgp.view.View;

/**
*
* @author Brantner
*/
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Settings.initProp();
        System.out.println(Settings.getProperty("partition.to.save.images"));
        final View view = new View();
        final Model model = new Model();
        final Controller controller = new Controller(view, model);
        new FileChecker().check();

        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                view.setVisible(true);
            }
        });
    }
}
TOP

Related Classes of org.ifmo.clgp.Main

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.