private void createWaitingWindow(String text, boolean show) { dialog = new Dialog(); dialog.setMessage(text); dialog.setIcon("[SKIN]notify.png"); dialog.draw(); dialog.setTitle(MSG.view_remoteAgentInstall_dialogTitle()); dialog.setShowCloseButton(false); }