return;
}
model.getSession().discard();
}
WaitMessageDialog dialog = view.getWaitMessageDialog("Shutting down server and database...");
Thread t = new Thread(new Runnable() {
public void run() {
control.shutdown(false);
log.info(Constant.PROGRAM_TITLE + " terminated.");
System.exit(0);
}
});
t.start();
dialog.setVisible(true);
}