int arrowButtonWidth = d.height; cachedMinimumSize = new Dimension(d.width + arrowButtonWidth, d.height);
d.height += i.top + i.bottom; int arrowButtonWidth = d.height - (i.top + i.bottom); cachedMinimumSize = new Dimension(d.width + arrowButtonWidth + i.left + i.right, d.height);
  public Dimension getMinimumSize(JComponent c)  {    if (isMinimumSizeDirty)      {    Dimension d = getDisplaySize();    int arrowButtonWidth = d.height;	cachedMinimumSize = new Dimension(d.width + arrowButtonWidth,					  d.height);	isMinimumSizeDirty = false;      }    return new Dimension(cachedMinimumSize);  }