public void setSize (Dimension d)

Sets the size of this Rectangle to match the specified Dimension.

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

Parameters:
d    the new size for the Dimension object

See also:
java.awt.Component.setSize(java.awt.Dimension), getSize

Since:  1.1