Sets the size of this Dimension object to the specified size.
This method is included for completeness, to parallel the
setSize method defined by Component.
d | the new size for this Dimension object |
java.awt.Dimension.getSize, java.awt.Component.setSize
Diagram: Point