Hi Greg, "Greg Steele" <[EMAIL PROTECTED]> wrote on 12/22/2005 05:17:20 PM:
> My app needs to update a database and the canvas for some functions. I've > tried code similiar to that below, but I've had the event dispatch thread > deadlock. 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]
