defaultWhint = wHint; defaultHhint = hHint;
void computeSize (Control control, int wHint, int hHint, boolean flushCache) {	if (cacheWidth != -1 && cacheHeight != -1) return;	if (wHint == this.width && hHint == this.height) {		if (defaultWidth == -1 || defaultHeight == -1) {			Point size =  control.computeSize (wHint, hHint, flushCache);			defaultWhint = wHint;			defaultHhint = hHint;			defaultWidth = size.x;			defaultHeight = size.y;		}		cacheWidth = defaultWidth;		cacheHeight = defaultHeight;		return;	}	if (currentWidth == -1 || currentHeight == -1 || wHint != currentWhint || hHint != currentHhint) {		Point size =  control.computeSize (wHint, hHint, flushCache);		currentWhint = wHint;		currentHhint = hHint;		currentWidth = size.x;		currentHeight = size.y;	}	cacheWidth = currentWidth;	cacheHeight = currentHeight;}