Share via


Component.getLocationOnScreen

Class Overview | Class Members | This Package | All Packages

Syntax

public Point getLocationOnScreen()

Returns

An instance of Point representing the top-left corner of the component's bounds in the coordinate space of the screen.

Description

Gets the location of this component in the form of a point specifying the component's top-left corner in the screen's coordinate space.

See Also

setLocation, getLocation