parent.focus( i, item );
focusItem( i, item );
	protected void initContent(Container parent, int firstLineWidth,			int lineWidth) 	{		Item[] myItems = parent.getItems();		this.yAdjustments = new int[ myItems.length ];		int myContentWidth = 0;		int myContentHeight = 0;		boolean hasFocusableItem = false;		for (int i = 0; i < myItems.length; i++) {			Item item = myItems[i];			//System.out.println("initalising " + item.getClass().getName() + ":" + i);			int width = item.getItemWidth( firstLineWidth, lineWidth );			int height = item.getItemHeight( firstLineWidth, lineWidth );			// now the item should have a style, so it can be safely focused			// without loosing the style information:			if (item.appearanceMode != Item.PLAIN) {				hasFocusableItem = true;			}			if (this.focusFirstElement && (item.appearanceMode != Item.PLAIN)) {				parent.focus( i, item );				height = item.getItemHeight( firstLineWidth, lineWidth );				width = item.getItemWidth( firstLineWidth, lineWidth );				this.focusFirstElement = false;			}			if (width > myContentWidth) {				myContentWidth = width; 			}			myContentHeight += height + this.paddingVertical;		}		if (!hasFocusableItem) {			this.appearanceMode = Item.PLAIN;		} else {			this.appearanceMode = Item.INTERACTIVE;		}		this.contentHeight = myContentHeight;		this.contentWidth = myContentWidth;	}