public void setBounds (int x, int y, int width, int height)

Sets the bounding Rectangle of this Rectangle to the specified x, y, width, and height.

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

Parameters:
x    the new X coordinate for the upper-left corner of this Rectangle
y    the new Y coordinate for the upper-left corner of this Rectangle
width    the new width for this Rectangle
height    the new height for this Rectangle

See also:
getBounds, java.awt.Component.setBounds(int, int, int, int)

Since:  1.1