@Override protected void paintTabBackground(Graphics g,int tabPlacement,int tabIndex,int x,int y,int w,int h,boolean isSelected){
  if (isSelected) {
    if (tabPlacement == TOP) {
      g.setColor(Color.white);
      g.fillRoundRect(x,y,w,h + R + R,R,R);
    }
  }
 else {
  }
}

@ Override protected void paintTabBackground ( Graphics g , int tabPlacement , int tabIndex , int x , int y , int w , int h , boolean isSelected ) { if ( isSelected ) { if ( tabPlacement == TOP ) { g . setColor ( Color . white ) ; g . fillRoundRect ( x , y , w , h + R + R , R , R ) ; } } else { } }
give selected tab blue color with a gradient ! ! . fixme : with plastic l & f the unselected background is too dark
