public void paintCurrentValueBackground(Graphics g,Rectangle bounds,boolean hasFocus){
  Color t=g.getColor();
  if (comboBox.isEnabled())   g.setColor(DefaultLookup.getColor(comboBox,this,"ComboBox.background",null));
 else   g.setColor(DefaultLookup.getColor(comboBox,this,"ComboBox.disabledBackground",null));
  g.fillRect(bounds.x,bounds.y,bounds.width,bounds.height);
  g.setColor(t);
}

public void paintCurrentValueBackground ( Graphics g , Rectangle bounds , boolean hasFocus ) { Color t = g . getColor ( ) ; if ( comboBox . isEnabled ( ) ) g . setColor ( DefaultLookup . getColor ( comboBox , this , "ComboBox.background" , null ) ) ; else g . setColor ( DefaultLookup . getColor ( comboBox , this , "ComboBox.disabledBackground" , null ) ) ; g . fillRect ( bounds . x , bounds . y , bounds . width , bounds . height ) ; g . setColor ( t ) ; }
paints the background of the currently selected item .
