public void actionPerformed(ActionEvent e) {
			try {
				translate.emptiedField();
				translate.setErrorMsg(" ");
				if (naryPanelExist) {
					main.getMainFrame().setContentPane(choice.getNaryPane());
					main.getMainFrame().validate();
				} else {
					r.translateToERD();
					main.getMainFrame().setContentPane(main.getChoicePanel());
					main.getMainFrame().validate();
				}
			} catch (MainException me) {
				System.out.println(me.getMessage());
			}
		}