Hi Olivier,
> Is there a way to do this with the batik framework: > > beginBatchModifications() > thread1 -> getUpdateRunnableQueue().invokeLater(runnable1) > thread2 -> getUpdateRunnableQueue().invokeLater(runnable2) > thread3 -> getUpdateRunnableQueue().invokeLater(runnable3) > thread2 -> getUpdateRunnableQueue().invokeLater(runnable4) > thread1 -> getUpdateRunnableQueue().invokeLater(runnable5) > endBatch() > > > so that I will not have to manage my synchronized queue of runnable and > ensure the repaint is performed by the endBatch? Well, SVG has the "(un)suspendRedraw" [1] methods, which Batik implements [2]. ;-) Hope this helps, Helder [1] http://www.w3.org/TR/SVG/struct.html#DOMInterfaces [2] http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/dom/svg/SVGSVGContext.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
