thanks for your reply!
Dan Slater wrote:
>
> Do you call
>
> svgCanvas.setDocumentState(JSVGCanvas.ALWAYS_DYNAMIC);
>
> before setSVGDocument?
>
now, but i have added it now. thanks!
>>>now i update the svgdocument via the dom-tree
>
> How exactly? Do you make your changes thread-safe, using the update
> manager, such as
>
> RunnableQueue rq =
> svgCanvas.getUpdateManager().getUpdateRunnableQueue();
> rq.invokeLater(new Runnable(){
> public void run(){
> //your doc updates here
> }
> });
>
hmmmm, will i need to do this for every document update? because i have code
like:
((Element) node).setAttributeNS(null, "style", "fill:none");
all over the place.
--
View this message in context:
http://www.nabble.com/visualizing-updates-of-the-domtree-on-a-JSVGCanvas-tp20582708p20597816.html
Sent from the Batik - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]