private void loadSize(){
		FileInputStream in;
		File settings = new File("settings.properties");
		if(settings.exists()){
			try {
				in = new FileInputStream("settings.properties");
				Properties prop = new Properties();
				try {
					prop.load(in);
					in.close();
					
					if (prop.containsKey("windowwidth") && prop.containsKey("windowheight")){
						String windowwidth = prop.getProperty("windowwidth");
						String windowheight = prop.getProperty("windowheight");
						this.setSize(Integer.parseInt(windowwidth), Integer.parseInt(windowheight));
					}
					else{
						
					}
				} catch (IOException e) {
					e.printStackTrace();
				}	
			} catch (FileNotFoundException e) {
				e.printStackTrace();
			}
		}
		else{

		}
	}