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 point new position

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

@since 2.0

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

Meta