Do you call
svgCanvas.setDocumentState(JSVGCanvas.ALWAYS_DYNAMIC);
before setSVGDocument?
>>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
}
});
-------- Original Message --------
Subject: visualizing updates of the domtree on a JSVGCanvas
From: emzic <[EMAIL PROTECTED]>
Date: Wed, November 19, 2008 9:50 am
To: [email protected]
hello, i use a JSVGCanvas and set a svgdocument to it via
svgcanvas.setSVGDocument(document);
now i update the svgdocument via the dom-tree, but the changes dont seem
to
be visible on the jsvgcanvas.
how can i visualize the new svg on the jsvgcanvas? do i need to set some
kind of listeners?
thanks!
--
View this message in context:
http://www.nabble.com/visualizing-updates-of-the-domtree-on-a-JSVGCanvas-tp20582708p20582708.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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]