public static void main(String[] args) {
		try {
			String OS = System.getProperty("os.name").toLowerCase();
			if (OS.indexOf("win") >= 0)
				UIManager
						.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
			else if ((OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0))
				UIManager
						.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InstantiationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (UnsupportedLookAndFeelException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		Frame frame = new MainWindow();

		GraphicsEnvironment graphicsEnvironment = GraphicsEnvironment
				.getLocalGraphicsEnvironment();
		GraphicsDevice screen = graphicsEnvironment.getDefaultScreenDevice();
		screen.setFullScreenWindow(frame);
		
	}