Microsoft SDK for Java

Control.getLocation

Retrieves coordinates of the upper-left corner of the control relative to the upper-left corner of its container's client area.

Syntax

public final Point getLocation()

Return Value

Returns a Point object that contains the coordinates of the upper-left corner of the control relative to the upper-left corner of its container's client area.

See Also   getBounds , setLocation

© 1999 Microsoft Corporation. All rights reserved. Terms of use.