public void setLocation (int x, int y)

Moves this Rectangle to the specified location.

This method is included for completeness, to parallel the setLocation method of Component.

Parameters:
x    the X coordinate of the new location
y    the Y coordinate of the new location

See also:
getLocation, java.awt.Component.setLocation(int, int)

Since:  1.1