private void loadConfig() {
		try {			
			Scanner s = new Scanner(configFile);
			s.useDelimiter("\n");
			while(s.hasNext(configPattern)) {
				s.next(configPattern);
				MatchResult match = s.match();
				
				if(match.group(1).equals("cube")) {
					//cubeFile = new File(match.group(2));
					cubeFileText.setText(match.group(2));
				} else if(match.group(1).equals("save")) {
					//saveDir = new File(match.group(2));
					saveDirText.setText(match.group(2));					
				}
			}
		} catch (FileNotFoundException e) {
			cubeFileText.setText(noFile);
			saveDirText.setText(noFile);
		}
	}