some general points are that you have to set svgCanvas.setDocumentState(JSVGComponent.ALWAYS_DYNAMIC);
and you have to use the updateQueue to get the dynamic updates to be performed
UpdateManager um = this.getUpdateManager(); RunnableQueue rq = um.getUpdateRunnableQueue(); rq.invokeLater( new Runnable( ){ public void run( ){ // do your DOM-changes here } });
Thanks! I knew I was missing something.
However, this doesn't seem to work. I've done precisely what you've set out, and
there's still no visible updates. Are there only certain attributes that are
changeable, or do I need a cvs version of Batik to get this to work? I'm using
Batik 1.5b4 right now.
The (very small) program is here:
http://joshwalker.org/svg/MyBatikTest.java
if you're feeling extra nice and want to point out exactly where I'm screwing up.
Thanks,
- josh
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
