public T withRatingColors(final double min,final double max){
  if (min >= max) {
    throw new IllegalArgumentException(String.format("Rating limits wrong. min (%s) has to be lower than max (%s).",min,max));
  }
  this.withColors=true;
  this.minValue=min;
  this.maxValue=max;
  return (T)this;
}

public T withRatingColors ( final double min , final double max ) { if ( min >= max ) { throw new IllegalArgumentException ( String . format ( "Rating limits wrong. min (%s) has to be lower than max (%s)." , min , max ) ) ; } this . withColors = true ; this . minValue = min ; this . maxValue = max ; return ( T ) this ; }
sets the rating colors for this cell renderer , based on a min and a max value .
