void (Component component, int top, int left, int bottom) { myConstraints.insets = JBUI.insets(top, left + myGroupInset, bottom, 0); myPanel.add(component, myConstraints.clone()); myConstraints.gridy++; myConstraints.insets = JBUI.insetsTop(top); }