Component.getSize
Class Overview | Class Members |
This Package |
All Packages
public Dimension getSize()
Returns
A Dimension object that indicates the
size of this component.
Description
Returns the size of this component in the form of a
Dimension object. The height
field of the Dimension object contains
this component's height, and the width
field of the Dimension object contains
this component's width.
See Also
setSize