if (changed && toolTipShell != null) { Point pt = getDisplay().getCursorLocation(); pt = toControl(pt); if (!updateToolTip(pt.x, pt.y)) hideToolTip(); }
boolean updateItems() {	boolean changed = false;	if (setItemSize()) changed = true;	if (setItemLocation()) changed = true;	if (setButtonBounds()) changed = true;	if (selectedIndex != -1) {		int top = firstIndex;		showItem(items[selectedIndex]);		if (top != firstIndex) changed = true;	}	return changed;}