public void openFile() {
		if(jfc.showOpenDialog(frame) == JFileChooser.APPROVE_OPTION) {
			File newFile = jfc.getSelectedFile();
			if(!newFile.exists()) {
				JOptionPane.showMessageDialog(frame, newFile.getName() + " does not exist.");
				return;
			} else if(!newFile.equals(projFile)) {
				int save = JOptionPane.showConfirmDialog(frame, "Do you want to save the changes to this project?", "Save", JOptionPane.YES_NO_CANCEL_OPTION);
				
				switch(save) {
					case 0 : saveChanges(); break;
					case 1 : break;
					case 2 : return;
					case -1 : return;
					default : System.out.println("UNKNOWN OPTION");
				}
				
				clearItems();
				if(projFile != newFile) {
					projFile = newFile;
					loadFile();
				}
			}
		}
	}