private void saveConfig() {
		FileWriter fw;
		try {
			fw = new FileWriter(configFile);
			if(cubeFileText.getText() != "") {
				fw.write("cube\t" + cubeFileText.getText() + "\n");
			}
			if(saveDirText.getText() != "") {
				fw.write("save\t" + saveDirText.getText() + "\n");				
			}
			fw.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}