this.isInitialised = false;
	public Item remove( int index ) {		this.isInitialised = false;		Item removedItem = (Item) this.itemsList.remove(index);		// check if the currenlty focused item has been removed:		if (index == this.focusedIndex) {			// focus the first possible item:			Item[] myItems = (Item[]) this.itemsList.toArray( new Item[ this.itemsList.size() ]);			for (int i = 0; i < myItems.length; i++) {				Item item = myItems[i];				if (item.appearanceMode != PLAIN) {					focus( i, item );					break;				}			}		}		if (this.isInitialised) {			repaint();		}		return removedItem;	}