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