addLayoutComponent(Component component, Object constraints) {
public void addLayoutComponent(Component component, Object constraints) {
addLayoutComponent(Component component, Object constraints){  if (constraints != null && ! (constraints instanceof String))    throw new IllegalArgumentException("Constraint must be a string");  addLayoutComponent((String) constraints, component);}