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
.
width | the new width for this Dimension object | |
height | the new height for this Dimension object |
java.awt.Dimension.getSize, java.awt.Component.setSize
Diagram: Point