if (! doWorkspace) return;
  private void update() {    synchronized (lockObject) {      nextUpdate = System.currentTimeMillis() + UPDATE_DELAY;      updateNeeded = true;      lockObject.notify();    }  }