Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.getMousePosition

Retrieves the current position of the mouse in screen coordinates.

Syntax

public static final Point getMousePosition()

Return Value

Returns a Point object that contains the coordinates of the mouse pointer relative to the upper-left corner of the screen.