c.setLocation(x + offsetX, y + offsetY); c.setSize(width, height);
c.setBounds(x + offsetX, y + offsetY, width, height);
  public void layoutContainer(Container p)  {    addLayoutComponent(p, new Constraints(Spring.constant(0),                                          Spring.constant(0)));    int offsetX = p.getInsets().left;    int offsetY = p.getInsets().right;    Component[] components = p.getComponents();    for (int index = 0; index < components.length; index++)      {        Component c = components[index];        Constraints constraints = getConstraints(c);        int x = constraints.getX().getValue();        int y = constraints.getY().getValue();        int width = constraints.getWidth().getValue();        int height = constraints.getHeight().getValue();        c.setLocation(x + offsetX, y + offsetY);        c.setSize(width, height);      }  }