@Transient
public Dimension getSize ()

Gets the size of this Dimension object. This method is included for completeness, to parallel the getSize method defined by Component.

Returns:  the size of this dimension, a new instance of Dimension with the same width and height

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

Since:  1.1