Reinhard Brandstädter wrote:

I've tried to use the invokeAndWait() method of the RunnableQueue to replace the invokeLater() call. I only expected the SVG canvas to be updated after each call before I append another element to the doc. But the invokeAndWait() never returns, neither any exceptions are thrown!

You are probably calling it from the Swing thread. This is likely to cause a deadlock as in some cases it needs to get information from the Swing component which can only be done in the Swing thread (which you have locked up!).

Under which circumstances can you use invokeAndWait then?

You can use invokeAndWait from any thread other than the Swing thread.




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



Reply via email to