Upon further investigation getMinimum and getMaximum in the SpinnerNumberModel is only used to determine the text box size.

This commit is contained in:
Kevin Ruland 2012-05-11 18:05:14 +00:00
parent 0cfdc91b2f
commit bd8db9cb10

View File

@ -118,17 +118,7 @@ public class DoubleModel implements StateChangeListener, ChangeSource, Invalidat
d = min;
return d;
}
/* FIXME - put min & max back
@Override
public Comparable<Double> getMinimum() {
return currentUnit.toUnit(minValue);
}
@Override
public Comparable<Double> getMaximum() {
return currentUnit.toUnit(maxValue);
}
*/
@Override
public void addChangeListener(ChangeListener l) {
DoubleModel.this.addChangeListener(l);