Danny Browne wrote:
any1 any ideas on how i can update hte source of an SVG document displayed
in a scrollPane without saving and reloading the document? the image and
source are on a switchable tabbedPane so i want to update the source each
time an action is carried out.
Hi Danny,
There is currently no support for 'live' updating of a source view.
Such a thing could be written, and it is even possible that someone
has done so using DOM mutation events and a sort of 'map' of what
characters came from what parts of what elements. But there isn't
anything like that currently in Batik.
If you want to update the Source view you don't have to save and
load the document you could just serialize it to a large string in
memory and set that as the contents of the Source view. This would
save the trip to disk and back.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]