return getPreferredHorizontalSize();
Insets insets = slider.getInsets();  int height = getThumbSize().height;  if (slider.getPaintTicks() && slider.getMajorTickSpacing() > 0 || slider.getMinorTickSpacing() > 0) height += getTickLength();  if (slider.getPaintLabels()) height += getHeightOfTallestLabel();  height += insets.top + insets.bottom + focusInsets.top + focusInsets.bottom;  return new Dimension(36, height);
  public Dimension getMinimumHorizontalSize()  {    return getPreferredHorizontalSize();  }