SwingUtilities.calculateInnerArea(scrollbar, trackRect); trackRect.height -= incrDims.getHeight(); trackRect.height -= decrDims.getHeight(); trackRect.y += decrDims.getHeight();  updateThumbRect();
  protected void layoutVScrollbar(JScrollBar sb)  {    Rectangle vr = new Rectangle();    SwingUtilities.calculateInnerArea(scrollbar, vr);    // Update rectangles    getTrackBounds();    getThumbBounds();    Dimension incrDims = incrButton.getPreferredSize();    Dimension decrDims = decrButton.getPreferredSize();    decrButton.setBounds(vr.x, vr.y, trackRect.width, decrDims.height);    incrButton.setBounds(vr.x, trackRect.y + trackRect.height,                         trackRect.width, incrDims.height);  }