示例#1
0
  public void run() {

    // System.out.println("running cryothread");

    while (!stop) {
      updateStates();
      try {
        sleep(1000);
      } catch (Exception e) {
        System.out.println("cannot sleep!");
      }
    }
    // System.out.println("reconnect thread starting...");
    reconnectThread = new ReconnectThread(cryo, frame, clientGui);
    reconnectThread.start();
  }