code: public Packer setContainer(final Container cont) throws IllegalAccessException {
          if (container != null) {
              final Packer p = (Packer) clone();
              container.setLayout(p);
          }
          container = cont;
          cont.setLayout(this);
          return this;
      }
docs: Set the designated container for objects packed by this instance.
  
  @param cont
  the Container to use to add the components to when .pack() or
  .add() is invoked.
  @exception IllegalAccessException
  if container already set