Overview | Methods | This Package | All Packages
Sets the bounds of the form in desktop coordinates.
Syntax
public final void setDesktopBounds( Rectangle bounds )
public final void setDesktopBounds( int x, int y, int width, int height )
Parameters
bounds
A Rectangle object that specifies the bounds for the form.
x
The x-coordinate of the form's location.
y
The y-coordinate of the form's location.
width
The width of the form.
height
The height of the form.
Remarks
Desktop coordinates are based on the working area of the screen, which excludes the taskbar.
See Also setDesktopLocation