private void loadPosition(){
		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("windowposx") && prop.containsKey("windowposy")){
						String windowposx = prop.getProperty("windowposx");
						String windowposy = prop.getProperty("windowposy");
						this.setLocation(Integer.parseInt(windowposx), Integer.parseInt(windowposy));
					}
					else{
						// TODO standard position
					}
				} catch (IOException e) {
					e.printStackTrace();
				}	
			} catch (FileNotFoundException e) {
				e.printStackTrace();
			}
		}
		else{
			// TODO standard position
		}
	}