code: public void layoutContainer (Container parent)
      {
          Insets insets = parent.getInsets();
          int pcount = parent.getComponentCount();
          for (int ii = 0; ii < pcount; ii++) {
              Component comp = parent.getComponent(ii);
              if (!comp.isVisible()) {
                  continue;
              }
  
              Object constr = _constraints.get(comp);
              if (constr == null) {
                  log.warning("No constraints for child!?", "cont", parent, "comp", comp);
                  continue;
              }
  
              if (constr instanceof Rectangle) {
                  Rectangle r = (Rectangle)constr;
                  comp.setBounds(insets.left + r.x, insets.top + r.y,
                                 r.width, r.height);
  
              } else {
                  Point p = (Point)constr;
                  Dimension d = comp.getPreferredSize();
                  comp.setBounds(insets.left + p.x, insets.top + p.y,
                                 d.width, d.height);
              }
          }
      }
docs: documentation inherited from interface