layoutItems();
setItemBounds();
void createItem (CTabItem item, int index) {	if (0 > index || index > getItemCount ()){ 		SWT.error (SWT.ERROR_INVALID_RANGE);	}	// grow by one and rearrange the array.	CTabItem[] newItems = new CTabItem [items.length + 1];	System.arraycopy(items, 0, newItems, 0, index);	newItems[index] = item;	System.arraycopy(items, index, newItems, index + 1, items.length - index);	items = newItems;		item.parent = this;		if (selectedIndex >= index) {		 selectedIndex ++;	}	if (items.length == 1) {		topTabIndex = 0;	}	layoutItems();	showItem(item);		if (items.length == 1) {		redraw();	} else {		redrawTabArea(-1);	}}