size.y = Math.max(leftSize.y, Math.max(centerSize.y, rightSize.y));
size.y = Math.max(leftSize.y, Math.max(centerSize.y, rightSize.y)) + 1;
public Point computeSize(int wHint, int hHint, boolean changed) {	checkWidget();	// size of title bar area	Point leftSize = new Point(0, 0);	if (topLeft != null) {		leftSize = topLeft.computeSize(SWT.DEFAULT, SWT.DEFAULT);	}	Point centerSize = new Point(0, 0);	if (topCenter != null) {		 centerSize = topCenter.computeSize(SWT.DEFAULT, SWT.DEFAULT);	}	Point rightSize = new Point(0, 0);	if (topRight != null) {		 rightSize = topRight.computeSize(SWT.DEFAULT, SWT.DEFAULT);	}	Point size = new Point(0, 0);	// calculate width of title bar	if (separateTopCenter) {		size.x = leftSize.x + rightSize.x;		size.x = Math.max(centerSize.x, size.x);		size.y = Math.max(leftSize.y, rightSize.y);		if (topCenter != null){			size.y += centerSize.y;		}	} else {		size.x = leftSize.x + centerSize.x + rightSize.x;		size.y = Math.max(leftSize.y, Math.max(centerSize.y, rightSize.y));	}		if (content != null) {		Point contentSize = new Point(0, 0);		contentSize = content.computeSize(SWT.DEFAULT, SWT.DEFAULT); 		size.x = Math.max (size.x, contentSize.x);		size.y += contentSize.y;	}		size.x += 2 * marginWidth + BORDER_LEFT + BORDER_RIGHT;	size.y += 2 * marginHeight + BORDER_TOP + BORDER_BOTTOM;	return size;}