xPos = trackRect.width - xPos;
xPos = len - xPos;
  protected int xPositionForValue(int value)  {    int min = slider.getMinimum();    int max = slider.getMaximum();    int extent = slider.getExtent();    int len = trackRect.width;    int xPos = (max == min) ? 0 : (value - min) * len / (max - min);    if (! drawInverted())      xPos += trackRect.x;    else      {	xPos = trackRect.width - xPos;	xPos += trackRect.x;      }    return xPos;  }