y += 2; if ( this.activeTabIndex > 0 ) {
int cHeight = this.contentHeight; y += (cHeight - this.scrollArrowHeight) / 2; int originalX = x;  if ( this.allowRoundtrip || this.activeTabIndex > 0 ) {
	protected void paintContent(int x, int y, int leftBorder, int rightBorder, Graphics g) 	{		// draw scrolling indicators:		g.setColor( this.scrollArrowColor );		y += 2;		if ( this.activeTabIndex > 0 ) {			// draw left scrolling indicator:			x += this.scrollArrowPadding;			int halfWidth = this.scrollArrowHeight / 2;			//#ifdef polish.midp2				g.fillTriangle(x, y + halfWidth-1, x + this.scrollArrowHeight, y, x + this.scrollArrowHeight, y + this.scrollArrowHeight );			//#else				g.drawLine( x, y + halfWidth-1, x + this.scrollArrowHeight, y );				g.drawLine( x + this.scrollArrowHeight, y, x + this.scrollArrowHeight, y + this.scrollArrowHeight);				g.drawLine( x, y + halfWidth-1, x + this.scrollArrowHeight, y  + this.scrollArrowHeight );			//#endif			x += this.scrollArrowHeight + this.scrollArrowPadding;		}		if ( this.activeTabIndex < this.tabs.length - 1 ) {			// draw right scrolling indicator:			rightBorder -=  (this.scrollArrowHeight + this.scrollArrowPadding);			int halfWidth = this.scrollArrowHeight / 2;			//#ifdef polish.midp2				g.fillTriangle(rightBorder, y, rightBorder, y  + this.scrollArrowHeight, rightBorder + this.scrollArrowHeight, y + halfWidth - 1 );			//#else				g.drawLine( rightBorder, y, rightBorder, y  + this.scrollArrowHeight );				g.drawLine( rightBorder, y, rightBorder + this.scrollArrowHeight, y + halfWidth - 1);				g.drawLine( rightBorder, y  + this.scrollArrowHeight, rightBorder + this.scrollArrowHeight, y + halfWidth - 1);			//#endif			rightBorder -=  this.scrollArrowPadding;		}		// draw the tabs:		y -= 2;		int clipX = g.getClipX();		int clipY = g.getClipY();		int clipWidth = g.getClipWidth();		int clipHeight = g.getClipHeight();		g.setClip( x, y, rightBorder - x, clipHeight);		x += this.xOffset;		for (int i = 0; i < this.tabs.length; i++) {			ImageItem tab = this.tabs[i];			tab.paint( x, y, leftBorder, rightBorder, g );			x += tab.itemWidth;		}		g.setClip( clipX, clipY, clipWidth, clipHeight);			}