labelRect.y = tickRect.y + tickRect.height;
labelRect.y = tickRect.y + tickRect.height - 1;
  protected void calculateLabelRect()  {    if (slider.getOrientation() == JSlider.HORIZONTAL)      {	labelRect.x = contentRect.x;	labelRect.y = tickRect.y + tickRect.height;	labelRect.width = contentRect.width;        labelRect.height = getHeightOfTallestLabel();      }    else      {	labelRect.x = tickRect.x + tickRect.width;	labelRect.y = contentRect.y;        labelRect.width = getWidthOfWidestLabel();	labelRect.height = contentRect.height;      }  }