private void addInsets(Dimension dimension, Container container) {
    JBInsets.addTo(dimension, container.getInsets());
    dimension.width += hGap + hGap;
    dimension.height += vGap + vGap;
  }
private void addInsets(Dimension dimension, Container container)