code: public void setRange(final double MIN_VALUE, final double MAX_VALUE) {
          maxValue = MAX_VALUE;
          minValue = MIN_VALUE;
          calculate();
          validate();
          calcAngleStep();
          fireStateChanged();
      }
docs: Sets the minimum and maximum value for the calculation of the
  nice minimum and nice maximum values.
  @param MIN_VALUE
  @param MAX_VALUE