layoutItems();
relayout();
void destroyItem(CoolItem item) {	int row = findItem(item).y;	if (row == -1) return;	Rectangle bounds = item.getBounds();	removeItemFromRow(item, row);	redraw(bounds.x, bounds.y, CoolItem.MINIMUM_WIDTH, bounds.height, false);	layoutItems();	int index = 0;	while (index < originalItems.length) {		if (originalItems [index] == item) break;		index++;	}	int length = originalItems.length - 1;	CoolItem [] newOriginals = new CoolItem [length];	System.arraycopy (originalItems, 0, newOriginals, 0, index);	System.arraycopy (originalItems, index + 1, newOriginals, index, length - index);	originalItems = newOriginals;	}