Пример #1
0
    /** Runs this thread and update the ID column. */
    public void run() {
      while (polling) {
        repaint();

        try {
          Thread.sleep(1000);
        } catch (InterruptedException exception) {
          break;
        }
      }

      repaint();
    }