public void saveInitFile() {
		System.out.println("Saving init file.");
		
		try {
			FileOutputStream out = new FileOutputStream(initFile);
			
			int r, g, b;
			
			writeln("TableWidth=" + Constants.TABLE_WIDTH, out);
			
			writeln("TableHeight=" + Constants.TABLE_HEIGHT, out);
			
			writeln("TableSpeed=" + Constants.TABLE_SPEED, out);
			
			r = Constants.TABLE_COLOR.getRed();
			g = Constants.TABLE_COLOR.getGreen();
			b = Constants.TABLE_COLOR.getBlue();
			writeln("TableColor=" + r + " " + g + " " + b, out);
			
			writeln("ProjViewWidth=" + Constants.PROJ_VIEW_WIDTH, out);
			
			writeln("ProjViewHeight=" + Constants.PROJ_VIEW_HEIGHT, out);
			
			r = Constants.PROJ_VIEW_BACK_COLOR.getRed();
			g = Constants.PROJ_VIEW_BACK_COLOR.getGreen();
			b = Constants.PROJ_VIEW_BACK_COLOR.getBlue();
			writeln("ProjViewBackColor=" + r + " " + g + " " + b, out);
			
			r = Constants.BACKGROUND.getRed();
			g = Constants.BACKGROUND.getGreen();
			b = Constants.BACKGROUND.getBlue();
			writeln("Background=" + r + " " + g + " " + b, out);
			
			r = Constants.DARK_BACKGROUND.getRed();
			g = Constants.DARK_BACKGROUND.getGreen();
			b = Constants.DARK_BACKGROUND.getBlue();
			writeln("DarkBackground=" + r + " " + g + " " + b, out);
			
			r = Constants.FONT_COLOR.getRed();
			g = Constants.FONT_COLOR.getGreen();
			b = Constants.FONT_COLOR.getBlue();
			writeln("FontColor=" + r + " " + g + " " + b, out);
			
			if(!Constants.MAXIMIZED) {
				writeln("FrameWidth=" + frame.getWidth(), out);
				writeln("FrameHeight=" + frame.getHeight(), out);
			} else {
				writeln("FrameWidth=800", out);
				writeln("FrameHeight=600", out);
			}
			writeln("Maximized=" + Constants.MAXIMIZED, out);
			
			writeln("ShowAdditionalInfo=" + Constants.SHOW_ADDITIONAL_INFO, out);
			
			writeln("TableImage=" + ProjectView.TABLE_IMAGE_LOC, out);
			
			if(projFile != null) {
				writeln("CurrentProj=" + projFile.getAbsolutePath(), out);
			} else {
				writeln("CurrentProj=None", out);
			}
			out.close();
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch(IOException e) {
			e.printStackTrace();
		} catch(Exception e) {
			e.printStackTrace();
		}
	}