trackBuffer = thumbRect.height / 2;
{ int h = Math.max(getHeightOfLowValueLabel(), getHeightOfHighValueLabel()); trackBuffer = Math.max(thumbRect.height / 2, h / 2); }
  protected void calculateTrackBuffer()  {    if (slider.getOrientation() == JSlider.HORIZONTAL)      trackBuffer = thumbRect.width / 2;    else      trackBuffer = thumbRect.height / 2;  }