public Point computeSize (int wHint, int hHint, boolean changed) { checkWidget(); int width = DEFAULT_WIDTH; int height = DEFAULT_HEIGHT; if (wHint != SWT.DEFAULT) width = wHint; if (hHint != SWT.DEFAULT) height = hHint; int border = getBorderWidth (); width += border * 2; height += border * 2; return new Point (width, height);
public Point computeSize (int wHint, int hHint) { return computeSize (wHint, hHint, true);
public Point computeSize (int wHint, int hHint, boolean changed) {	checkWidget();	int width = DEFAULT_WIDTH;	int height = DEFAULT_HEIGHT;	if (wHint != SWT.DEFAULT) width = wHint;	if (hHint != SWT.DEFAULT) height = hHint;	int border = getBorderWidth ();	width += border * 2;	height += border * 2;	return new Point (width, height);}