throw new IllegalArgumentException(
"You must provide two CellConstraints instances, "
+ "one for the label and one for the component.\n"
+ "Consider using #clone(). See the JavaDocs for details.");
Label label = addLabel(textWithMnemonic, labelConstraints);
add(component, componentConstraints);
// XXX label.setLabelFor(component);
return label;
}