Examples of WaitDialog


Examples of com.aesthete.swingobjects.ui.main.WaitDialog

        }

    }

    public static void showWaitDialogForComponent(final JComponent component){
        WaitDialog  waitdialog=(WaitDialog)FrameFactory.getFrame(FrameFactory.waitDialogFrameSetId,FrameFactory.WAIT_DIALOG,component);
        waitdialog.displayWaitDialog();
    }
View Full Code Here

Examples of com.valhalla.gui.WaitDialog

     */
    private void addBuddy(String groupName, String buddyAlias, String buddyId) {
        Roster buddyGroups = ConnectorThread.getInstance()
                .getRoster();

        WaitDialog wait = new WaitDialog(this, null, resources.getString("pleaseWait"));
        wait.setVisible(true);
        setVisible(false);

        Thread thread = new Thread(new AddBuddyThread(wait, groupName,
                buddyAlias, buddyId, this));
        thread.start();
View Full Code Here

Examples of com.valhalla.gui.WaitDialog

  /**
   * Collects the required registration fields from the server
   */
  public void getRegistrationInfo() {
    GetRegistrationThread thread = new GetRegistrationThread();
    wait = new WaitDialog(this, thread, "Gathering registration form...");
    wait.setVisible(true);

    thread.start();
  }
View Full Code Here

Examples of com.valhalla.gui.WaitDialog

   * Sends the registration information to the server
   */
  public void register() {
    RegistrationThread thread = new RegistrationThread();

    wait = new WaitDialog(this, thread, "Submitting registration...");
    wait.setVisible(true);

    thread.start();
  }
View Full Code Here

Examples of com.valhalla.gui.WaitDialog

    public void register() {
        setVisible(false);

        RegisterThread thread = new RegisterThread();

        wait = new WaitDialog(this, thread, resources.getString("pleaseWait"));
        wait.setVisible(true);

        thread.start();
    }
View Full Code Here

Examples of com.valhalla.gui.WaitDialog

     * Contacts the server to find out which fields are needed
     */
    public void getRegistrationInfo() {

        GetRegistrationFormThread thread = new GetRegistrationFormThread();
        wait = new WaitDialog(this, thread, resources.getString("pleaseWait"));
        wait.setVisible(true);

        thread.start();
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.gui.WaitDialog

  private WaitDialog invokingDialog;

  public ODEInvoker(XBayaEngine engine) {
    this.engine = engine;

    this.invokingDialog = new WaitDialog(this,
        "Invoking the Workflow.",
        "Invoking the Workflow."
            + "Please wait for a moment.", this.engine);
  }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.gui.WaitDialog

     * @param engine
     */
    public MyProxyLoader(XBayaEngine engine) {
        this.engine = engine;

        this.waitDialog = new WaitDialog(this, "Loading Proxy",
                "Loading a proxy.\n" + "Please wait for a moment.", this.engine);
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.gui.WaitDialog

     * @param engine
     */
    public ComponentRegistryLoader(XBayaEngine engine) {
        this.engine = engine;

        this.loadingDialog = new WaitDialog(this, "Loading a Component List.",
                "Loading a Component List. " + "Please wait for a moment.",
                this.engine);
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.gui.WaitDialog

        }
      }

      this.notifier.workflowTerminated();
      if (this.mode == GUI_MODE) {
        final WaitDialog waitDialog = new WaitDialog(new Cancelable() {
          @Override
          public void cancel() {
            // Do nothing
          }
        }, "Stop Workflow", "Cleaning up resources for Workflow", this.engine);
        new Thread(new Runnable() {
          @Override
          public void run() {
            waitDialog.show();
          }
        }).start();
        // Send Notification for output values
        finish();
        // Sleep to provide for notification delay
        try {
          Thread.sleep(1000);
        } catch (InterruptedException e) {
          e.printStackTrace();
        }
        cleanup();
        waitDialog.hide();
      } else {
        finish();
      }
    } catch (RuntimeException e) {
      // we reset all the state
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.