public void addComponent(final JComponent component, final GridConstraints constraints) {
    myComponents.add(component);
    myConstraints.add(constraints);
  }
public void addComponent(final JComponent component, final GridConstraints constraints)