r = g.getClipBounds(); g.clearRect(r.x, r.y, r.width, r.height); g.setFont( f ); fm = g.getFontMetrics(); int xpos = 0, ypos = 0, attribWidth=0;  g.setColor(fontColor); xpos = extpad; ypos=extpad;  for(int j=m_selectedAttribs.length-1; j>=0; j--) { if( ypos+cellSize < r.y ) { ypos += cellSize+extpad;  continue; } else if( ypos > r.y+r.height ) break; else { g.drawString(m_data.attribute(m_selectedAttribs[j]).name(), xpos+extpad, ypos+cellSize/2); } xpos = extpad; ypos += cellSize+extpad; } r=null; }
r = g.getClipBounds(); g.setColor(this.getBackground()); g.fillRect(r.x, r.y, r.width, r.height); g.setFont( f ); fm = g.getFontMetrics(); int xpos = 0, ypos = 0, attribWidth=0;  g.setColor(fontColor); xpos = extpad; ypos=extpad;  for(int j=m_selectedAttribs.length-1; j>=0; j--) { if( ypos+cellSize < r.y ) { ypos += cellSize+extpad;  continue; } else if( ypos > r.y+r.height ) break; else { g.drawString(m_data.attribute(m_selectedAttribs[j]).name(), xpos+extpad, ypos+cellSize/2); } xpos = extpad; ypos += cellSize+extpad; } r=null; }
	      public void paint(Graphics g) {		  r = g.getClipBounds();		  g.clearRect(r.x, r.y, r.width, r.height);		  g.setFont( f );		  fm = g.getFontMetrics();		  int xpos = 0, ypos = 0, attribWidth=0;		  		  g.setColor(fontColor);		  xpos = extpad;		  ypos=extpad; 		  		  for(int j=m_selectedAttribs.length-1; j>=0; j--) {		      if( ypos+cellSize < r.y )			  { ypos += cellSize+extpad;  continue; }		      else if( ypos > r.y+r.height )			  break;		      else {			  g.drawString(m_data.attribute(m_selectedAttribs[j]).name(), xpos+extpad, ypos+cellSize/2);		      }		      xpos = extpad;		      ypos += cellSize+extpad;		  }		 		  r=null; 	      }