Hi Michiel

It is Layer.paint(Graphics) that loops round all its Figs calling
their paint method.

So there is no way a Fig is painted until it is added to a Layer.

So if the layer is also set by the constrcutor then I guess that is
the last thing to happen. There is no need to call paint or damage
directly.

Bob.


class AbstractBaseParent {
    AbstractBaseParent(Object owner, Layer lay, ....) {
      constructComposites();
      setOwner(Object owner);
      setBounds( ... );
      setLayer(lay);
    }

    abstract protected void constructComposites();
}

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to