I'm new to Batik and SVG, but have worked a lot with DOM and Java2D. I'm confused about the unusual process needed to update the document to cause the JSVGCanvas to display a different image. In particular, in the FAQ it says to use:


UpdateManager um = JSVGCanvas.getUpdateManager();
um.getUpdateRunnableQueue().invokeLater(Runnable);

What is 'Runnable'? A pointer to some other currently running thread? What on that thread object is called?

What I need to do is read in an SVG file, and then change the text of several text nodes over time in response to user commands. The sample code listed in Java Scripting doesn't help much, since it seems to concern adding script like calls when a document loads.

If you could provide sample code or point to a small program that does something similar, it would be a big help. Infact, if you could point me to an archive of simple Batik programs with their source SVG files, I would like to spend some time reading through them.

Mark McKay

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to