Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.setSize

Sets the height and width of the control.

Syntax

public final void setSize( int width**, int** height )

public final void setSize( Point

value )

Parameters

width

The control width.

height

The control height.

value

A Point object that contains the dimensions of the the control. The Point.x field holds the control width; the Point.y field holds the height.

See Also   getSize