sb.append(min + range * positions[positions.length - 1]);
gradientSlider.setToolTipText(sb.toString());
}
private void setRangeValues() {
JRangeSlider slider = (JRangeSlider) rangeSlider;
float low = slider.getValue() / 100f;
float high = slider.getUpperValue() / 100f;
colorTransformer.setLowerBound(low);
colorTransformer.setUpperBound(high);
lowerBoundLabel.setText(ranking.unNormalize(colorTransformer.getLowerBound()).toString());
upperBoundLabel.setText(ranking.unNormalize(colorTransformer.getUpperBound()).toString());