public void openProgram() {
		if (doSaveBeforeOpenOrNew()){
			int option = fileChooser.showOpenDialog(this);
			
			if (option == JFileChooser.APPROVE_OPTION){
				File file = fileChooser.getSelectedFile();
				
				try {
					LogoDocument program = LogoDocument.fromFile(file);
					setProgram(program);
				}catch (IOException ex){
					ex.printStackTrace();
				}
			}
		}
	}