Component.getLocation
Class Overview | Class Members |
This Package |
All Packages
public Point getLocation()
Returns
An instance of Point representing
the top-left corner of the component's bounds in the coordinate
space of the component's parent.
Description
Gets the location of this component in the form of a
point specifying the component's top-left corner.
The location will be relative to the parent's coordinate space.
See Also
setLocation, getLocationOnScreen