Microsoft SDK for Java

Form.setDesktopLocation

Sets the location of the form in desktop coordinates.

Syntax

public final void setDesktopLocation( Point loc )

public final void setDesktopLocation( int x, int y )

Parameters

loc

A Point object that specifies the location for the form.

x

The x-coordinate for the form.

y

The y-coordinate for the form.

See Also   setDesktopBounds

© 1999 Microsoft Corporation. All rights reserved. Terms of use.