label = null;
private void onDispose() {	/*	 * Usually when an item is disposed, destroyItem will change the size of the items array, 	 * reset the bounds of all the tabs and manage the widget associated with the tab.	 * Since the whole folder is being disposed, this is not necessary.  For speed	 * the inDispose flag is used to skip over this part of the item dispose.	 */	inDispose = true;		int length = items.length;	for (int i = 0; i < length; i++) {								if (items[i] != null) {			items[i].dispose();		}	}		// clean up resources	if (tip != null  && !tip.isDisposed()) {		tip.dispose();		tip = null;	}		if (arrowLeftImage != null) arrowLeftImage.dispose();	arrowLeftImage = null;	if (arrowRightImage != null) arrowRightImage.dispose();	arrowRightImage = null;	if (closeImage != null) closeImage.dispose();	closeImage = null;		gradientColors = null;	gradientPercents = null;	backgroundImage = null;	if (borderColor1 != null) borderColor1.dispose();	borderColor1 = null;		if (borderColor2 != null) borderColor2.dispose();	borderColor2 = null;		if (borderColor3 != null) borderColor3.dispose();	borderColor3 = null;}