public void setSize (int width, int height)

Sets the size of this Dimension object to the specified width and height. This method is included for completeness, to parallel the setSize method defined by Component.

Parameters:
width    the new width for this Dimension object
height    the new height for this Dimension object

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

Since:  1.1