rightBorder = leftBorder + this.contentWidth;
	protected void paintContent( int x, int y, int leftBorder, int rightBorder, Graphics g ) {		//System.out.println("ContainerView: painting content for " + this + " with vertical-padding " + this.paddingVertical  + ", screen=" + this.parentContainer.getScreen());				//#if polish.css.view-type-top-y-offset			y += this.topYOffset;		//#endif		//#if polish.css.view-type-left-x-offset			x += this.leftXOffset;			leftBorder += this.leftXOffset;		//#endif		//#if polish.css.view-type-right-x-offset			rightBorder -= this.rightXOffset;		//#endif		Item[] myItems = this.parentContainer.getItems();				int focusedX = x;		int focusedY = 0;		int focusedRightBorder = rightBorder;		//#ifdef tmp.useTable			if (this.columnsSetting == NO_COLUMNS || myItems.length == 1) {		//#endif				if (!(this.isLayoutCenter || this.isLayoutRight)) {					// adjust the right border:					rightBorder = leftBorder + this.contentWidth;				}				for (int i = 0; i < myItems.length; i++) {					Item item = myItems[i];					// currently the NEWLINE_AFTER and NEWLINE_BEFORE layouts will be ignored,					// since after every item a line break will be done.					if (i == this.focusedIndex) {						focusedY = y;						item.getItemHeight( rightBorder - x, rightBorder - leftBorder );					} else {						// the currently focused item is painted last						paintItem(item, i, x, y, leftBorder, rightBorder, g);						//item.paint(x, y, leftBorder, rightBorder, g);					}					y += item.itemHeight + this.paddingVertical;				}		//#ifdef tmp.useTable			} else {				x = leftBorder;				int columnIndex = 0;				int rowIndex = 0;				for (int i = 0; i < myItems.length; i++) {					Item item = myItems[i];					int columnWidth = this.columnsWidths[ columnIndex ];					//#if polish.css.colspan						if (item.colSpan > 1) {													for (int j = columnIndex + 1; j < columnIndex + item.colSpan; j++) {								columnWidth += this.columnsWidths[ j ] + this.paddingHorizontal;							}							//System.out.println("Painting item " + i + "/" + item + " with width=" + item.itemWidth + " and with increased colwidth of " + columnWidth + " (prev=" + this.columnsWidths[ columnIndex ] + ")" );													}					//#endif					if (i == this.focusedIndex) {						focusedY = y;						focusedX = x;						focusedRightBorder = x + columnWidth;						//System.out.println("focusedItem in table: x=" + focusedX + ", rocusedRightBorder=" + focusedRightBorder + ", rightBorder=" + rightBorder +  ", isInitialized=" + this.focusedItem.isInitialised +  ", itemWidth=" + item.getItemWidth( columnWidth, columnWidth ));						// item.getItemHeight( columnWidth, columnWidth );					} else {						paintItem( item, i, x, y, x, x + columnWidth, g );						// item.paint(x, y, x, x + columnWidth, g);					}					x += columnWidth + this.paddingHorizontal;					//#if polish.css.colspan						columnIndex += item.colSpan;					//#else						columnIndex++;					//#endif								if (columnIndex == this.numberOfColumns) {						columnIndex = 0;						y += this.rowsHeights[ rowIndex ] + this.paddingVertical;						x = leftBorder;						rowIndex++;					}				}			}		//#endif				// paint the currently focused item:		if (this.focusedItem != null) {			//System.out.println("Painting focusedItem " + this.focusedItem + " with width=" + this.focusedItem.itemWidth + " and with increased colwidth of " + (focusedRightBorder - focusedX)  );			paintItem( this.focusedItem, this.focusedIndex, focusedX, focusedY, focusedX, focusedRightBorder, g);			//this.focusedItem.paint(focusedX, focusedY, focusedX, focusedRightBorder, g);		}	}