Sets the size of the element.
public void setSize( int w, int h )
public void setSize( Point pt )
width
The new width of the element.
height
The new height of the element.
pt
The new width and height of the element.
WFCInvalidArgumentException thrown if either width or height is less than 0.
See Also setWidthUnit, setHeightUnit, getSize