235236237238239240241242243244245
}; final WaitDialog dialog = new WaitDialog(cancelable, "title", "message", engine.getGUI()); Thread showThread1 = new Thread() { @Override public void run() { dialog.show(); } }; Thread showThread2 = new Thread() {
243244245246247248249250251252253
}; Thread showThread2 = new Thread() { @Override public void run() { dialog.show(); } }; Thread hideThread1 = new Thread() {