Component.getBounds

Component.getBounds

Class Overview | Class Members | This Package | All Packages

Syntax
public Rectangle getBounds()
Returns
A rectangle indicating this component's bounds.
Description
Gets the bounds of this component in the form of a Rectangle object. The bounds specify this component's width, height, and location relative to its parent.

See Also
setBounds, getLocation, getSize