/**
  * Overridden to calculate the geometry of the slider, this calls the {@link
  * BasicSliderUI#calculateGeometry} and to add extra calculations to calculate the <code>ArrowRect
  * </code> if showArrows is <code>true</code>.
  *
  * @see BasicSliderUI#calculateGeometry()
  */
 public void calculateGeometry() {
   super.calculateGeometry();
   if (showArrows) calculateArrowRect();
   if (showEndLabel) calculateEndLabelRect();
 }