if (itemCount == 1) focusIndex = 0;
if (focusItem == null) focusItem = item;
void createItem (ExpandItem item, int style, int index) {	if (!(0 <= index && index <= itemCount)) error (SWT.ERROR_INVALID_RANGE);	if (itemCount == items.length) {		ExpandItem [] newItems = new ExpandItem [itemCount + 4];		System.arraycopy (items, 0, newItems, 0, items.length);		items = newItems;	}	System.arraycopy (items, index, items, index + 1, itemCount - index);	items [index] = item;	itemCount++;	if (itemCount == 1) focusIndex = 0;	item.width = Math.max (0, getClientArea ().width - spacing * 2);	layoutItems (index, true);}