예제 #1
0
  public void connectionFailed() {
    setCursor(null);

    if (busyDialog != null) {
      busyDialog.close();
      busyDialog = null;
    }

    stopThrobber();
  }
예제 #2
0
  public void connecting() {
    setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));

    if (busyDialog != null) {
      busyDialog.close();
      busyDialog = null;
    }

    busyDialog = new BusyDialog(frame);
    busyDialog.setCancelActionListener(
        new ActionListener() {
          public void actionPerformed(ActionEvent arg0) {
            rbnb.cancelConnect();
          }
        });
    busyDialog.start();

    startThrobber();
  }