Hi All,
Tom said in issue 4654:
[quote]
Swing isn't thread safe, so Swing drawing operations need to be invoked on a
single thread, usually the Swing/AWT event processing thread.
http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html#single_thread_rule
Doing drawing from a different thread (e.g. the MDR event processing
thread), is
always going to have the risk of this kind of problem. The probability of
it
will go up for more complex drawing operations, but it will also go up as we
see
more and more multi-core processors in the field.
Model event processing code that needs to use Swing operations should use
SwingUtilities.invokeLater.
[end quote]
Does that include redrawing a Fig on the diagram?
How do we deal with this?
Regards,
Michiel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]