> If I debug with Eclipse the code and put some breakpoints
> in the modelChanged method of FigModelElement (don't ask
> why are I doing this) the lines appear.

Code that behaves differently under the debugger than it does when running
in real-time is a classic symptom of a race condition.  All graphics
painting is done in the AWT event thread.  Model event delivery happens on
the MDR thread.  Project load/save happens on a background helper thread.

An earlier message mentioned drawing things in a Fig constructor, but that's
not where drawing actually happens.  Instead all the graphics data
structures are set up there and it's only when the paint method is called
that the actual drawing happens.

Tom

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

Reply via email to