if (answare != null) {
if (Answare.NEGATIVE.equals(answare)) {
String message = defaultMessage(answare);
createPopupMessage("main_exit_onclose_running_op_msg", new AnswarePopupMessage() {
@Override
public void onOkAnsware() {
__sysExit(__EXIT_NO_ERROR__);
}
@Override
public void onCancelAnsware() {
}
}).setHeader("Warning")
.setContent(RBLoader.ll(message) + "\n"
+ RBLoader.ll("Continue and close the program ?"))
.setOkCancelButton("Exit", "Cancel")
.setIcon(Utility.getImage("help_24.png"))
.show();
} else {
createPopupMessage("main_exit_onclose_msg", new AnswarePopupMessage() {
@Override
public void onOkAnsware() {
__sysExit(__EXIT_NO_ERROR__);
}