Display.setCursorLocation

Sets the location of the on-screen pointer relative to the top left corner of the screen. <b>Note: It is typically considered bad practice for a program to move the on-screen pointer location.</b>

@param x the new x coordinate for the cursor @param y the new y coordinate for the cursor

@exception SWTException <ul> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> </ul>

@since 2.1

  1. void setCursorLocation(int x, int y)
    class Display
    void
    setCursorLocation
    (
    int x
    ,
    int y
    )
  2. void setCursorLocation(Point point)

Meta