I use javax.swing.Timer to drive an action to change the document from 
jSVGCanvas.getSVGDocument(), and do this:
 
                jSVGCanvas.setDocumentState(JSVGCanvas.ALWAYS_DYNAMIC);
                jSVGCanvas.setDocument(jSVGCanvas.getSVGDocument());
 
If the timer is too fast (delay<100 ms), it will eventually crash the Batik. If 
the timer is slow (delay>1000 ms), everything is fine.
 
I expect the JSVGCanvas to notify me with some events that the document changes 
are too frequent. Then I can dynamically slow down the timer. But it just 
crashes.
 
Any comments?

Reply via email to