bg = tabPane.getBackground();
bg = Color.GRAY;
  protected void paintTabBackground(Graphics g, int tabPlacement,                                    int tabIndex, int x, int y, int w, int h,                                    boolean isSelected)  {    Color saved = g.getColor();    if (isSelected)      g.setColor(Color.LIGHT_GRAY);    else      {	Color bg = tabPane.getBackgroundAt(tabIndex);	if (bg == null)	  bg = tabPane.getBackground();	g.setColor(bg);      }    g.fillRect(x, y, w, h);    g.setColor(saved);  }