コード例 #1
0
 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);
 }
コード例 #2
0
 /**
  * Call this method when we know all processing (including all async calls) are done and we are
  * ready for the user to interact with the page again.
  */
 private void doneProcessing() {
   disableButtons(false);
   hostAuthorized =
       false; // if the ssh fingerprint changes under us this forces the user to re-authorize again
   dialog.markForDestroy();
 }