Hi Thomas,
Thanks again for your help.  I'm not calling get, and I've used the same
approach(SwingWorker with invokeAndWait) in the past succesfully so I'm a
little baffled.  Let me do some more debug before I waste your time; it's
probably a simple mistake in my code.  I mostly wanted to verify my approach
using SwingWorker.  I'll report back if I find something  in the Batik code.

Batik rocks,
Greg

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, December 23, 2005 9:32 AM
To: [email protected]
Subject: RE: SwingWorker and invokeAndWait


Hi Greg,

    Hmm, looking at the description of the SwingWorker class I think you
are right
(I've never used it).  Where (if anywhere) do you call 'get' on the
Worker?

   If you could provide a JVM stack dump when it is hung that would also
help.
In windows this is done by pressing <ctrl><break> in a DOS window that is
running
the JVM.  Under Unix you can send the JVM a signal (sig 3? Google it to be
sure).

"Greg Steele" <[EMAIL PROTECTED]> wrote on 12/23/2005 09:15:01 AM:

> I'm sure you get sick of answering this question.  However, I thought
the
> construct() method of the SwingWorker class was invoked on a third party
> thread, but I'll have to do some more research.

> > I thought I'd be safe using invokeAndWait within a SwingWorker.
> > Is this a thread safe operation?
>
>    The operation is thread safe but in the case of SVG in the canvas
> DOM modifications it may need to query the canvas so it needs access
> to the Swing thread it of course can't get it if you are sitting in
> 'invokeAndWait' on the Update Manager.
>
>    You will have to move your code into a 3rd party 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