return new Rectangle (rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top);
int width = Math.max(0, rect.right - rect.left); int height = Math.max(0, rect.bottom - rect.top); return new Rectangle (rect.left, rect.top, width, height);
public Rectangle getBounds () {	checkWidget();	Rect rect = getControlBounds (topHandle ());	return new Rectangle (rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top);}