public void connectionFailed() { setCursor(null); if (busyDialog != null) { busyDialog.close(); busyDialog = null; } stopThrobber(); }
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(); }