cursorX = x; cursorY = y;
  synchronized void softCursorMove(int x, int y) {    Point o = getImageOrigin();    int oldX = cursorX + o.x;    int oldY = cursorY + o.y;    cursorX = x;    cursorY = y;    // paint and scroll     if (showSoftCursor) {      scheduleRepaint(oldX - hotX, oldY - hotY, cursorWidth, cursorHeight);      scheduleRepaint(cursorX - hotX + o.x, cursorY - hotY + o.y, cursorWidth,                      cursorHeight);      if (!seekMode)        scrollToPoint(x, y);    }    cursorX = x;    cursorY = y;  }