//===========================================================
//	Lukas Valine * Mr. Inspiration * February 18, 2015
//===========================================================
//  An algorithmic approach to music composition
//-----------------------------------------------------------

import java.awt.Color;
import java.awt.FontFormatException;
import java.io.IOException;
import javax.swing.JFrame;
import Controller.Controller;
import Model.Model;
import View.MainView;

public class MrInspiration{

	public static void main(String[] args) throws FontFormatException, IOException{
		
		System.setProperty("awt.useSystemAAFontSettings","on"); 
		System.setProperty("swing.aatext", "true"); 
		
		Model theModel = new Model();
		MainView theView = new MainView(theModel);
		Controller theController = new Controller(theView, theModel);
		
		theModel.addObserver(theView);
		
		theView.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		theView.setSize(950,800);
		theView.getContentPane().setBackground(new Color(180, 180, 180));
		theView.setVisible(true);}}
