Control.setClientSize

Overview | Methods | Fields | This Package | All Packages

Control.setClientSize

Sets the height and width of the client area of the control.

Syntax

public final void setClientSize( Point size )

public final void setClientSize( int x, int y )

Parameters

size

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

x

An integer that represents the client area width.

y

An integer that represents the client area height.

See Also   getClientSize