return (value > slider.getValue());
return value > slider.getValue();
    public boolean shouldScroll(int direction)    {      int value;      if (slider.getOrientation() == JSlider.HORIZONTAL)	value = valueForXPosition(currentMouseX);      else	value = valueForYPosition(currentMouseY);      if (direction == POSITIVE_SCROLL)	return (value > slider.getValue());      else	return (value < slider.getValue());    }