3435363738394041424344
private void exitApplication() { int n = DialogManager.showYesNoDialog(container, TxtManager.getTxt("alert.exit")); if (n == 0) { DAO dao = DAO.getInstance(); dao.commit(); dao.deleteDAO(); System.exit(0); } } //����ϵͳ����
292293294295296297298299300301302
private void exitApplication() { int n = DialogManager.showYesNoDialog(this, TxtManager.getTxt("alert.exit")); if (n == 0) { DAO dao = DAO.getInstance(); dao.commit(); dao.deleteDAO(); System.exit(0); } } private boolean validateForm() {
13101311131213131314131513161317131813191320
private void exitApplication() { int n = DialogManager.showYesNoDialog(getContainer(), TxtManager.getTxt("alert.exit")); if (n == 0) {//exit application DAO dao = DAO.getInstance(); dao.commit(); dao.deleteDAO(); System.exit(0); } }
7576777879808182838485
int n = DialogManager.showYesNoDialog(this, TxtManager.getTxt("alert.exit")); if (n == 0) {//exit application DAO dao = DAO.getInstance(); dao.commit(); dao.deleteDAO(); System.exit(0); } }