this.currentContentHeight = 0;
        protected void initContent(Container parent, int firstLineWidth,                        int lineWidth)         {                Item[] myItems = parent.getItems();                this.contentHeight = this.contentWidth = this.rowWidth = this.rowHeight = 0;                this.currentRow = new ArrayList();                this.allRows = new ArrayList();                boolean hasFocusableItem = false;                for (int i = 0; i < myItems.length; i++) {                    Item item = myItems[i];                    if (item.appearanceMode != Item.PLAIN) {                            hasFocusableItem = true;                    }                    appendItemToRow(i, item, firstLineWidth, lineWidth);                }                // Make the remaining items a final line                rowBreak(lineWidth);                if (!hasFocusableItem) {                	this.appearanceMode = Item.PLAIN;                } else {                    this.appearanceMode = Item.INTERACTIVE;                }        }