tab.put (constraints, comp);
addLayoutComponent ((String) constraints, comp);
  public void addLayoutComponent (Component comp, Object constraints)  {    if (! (constraints instanceof String))      throw new IllegalArgumentException ("Object " + constraints					  + " is not a string");    tab.put (constraints, comp);  }