DragContext.setHotspot
void setHotspot(int hotX, int hotY)Sets the position of the drag window that will be kept under the cursor hotspot. Initially, the hotspot is at the top left corner of the drag window.
Parameters
hotX | x coordinate of the drag window hotspot |
hotY | y coordinate of the drag window hotspot |