Thomas,

I did more experimenting and the problem stems from my runner classes having 
references to either the SVG document or an element of the SVG document.  If you take 
the references out, both runners will execute with the invokeAndWait method.  How am I 
supposed to update the DOM within UpdateManager if I cannot reference parts of the DOM 
from within my runner classes?  Also, why does the first runner succeed and the second 
hang?  Any help would be greatly appreciated.  Thanks!

-Mike

-----Original Message-----
From: Thomas DeWeese [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 5:56 PM
To: Batik Users
Subject: Re: invokeAndWait hang problem


Mike Favata wrote:
> Hello all,
> 
> I am having trouble with the invokeAndWait method offered by 
> UpdateManager.  I am able to call invokeAndWait successfully 
> in this block of code:

Hi Mike,

    I suspect that you are calling invokeAndWait from the
Swing event thread.  This is prone to causing deadlocks
as you have discovered.  You need to move the calls to
invokeAndWait to another thread.



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


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

Reply via email to