|
We are running into a similar problem. Can you elaborate
on how you got your case to work.
>
JSVGCanvas canvas =
...
> canvas.setDocumentState(JSVGCanvs.ALWAYS_DYNAMIC); > > import org.apache.batik.bridge.UpdateManager; > import org.apache.batik.util.RunnableQueue; > > UpdateManager um = canvas.getUpdateManager(); > RunnableQueue rq = um.getUpdateRunnableQueue(); > rq.invokeLater(new Runnable() { public void run() { /*...*/ } }); > rq.invokeAndWait(new Runnable() { public void run() { /*...*/ } }); Specifically, where do you make the change to DOM. Is it
done inside the run()
> rq.invokeLater(new Runnable() { public void
run() { /*...*/ } });
> rq.invokeAndWait(new Runnable() { public void run() { /*...*/ } }); Do we need to invoke both methods?
Also, how do methods invokeAndWait
and invokeLater work? do they invoke after the change inside the
DOM?
Danh Hoai
|
- repaint Danh Hoai
- repaint Thomas E Deweese
- Re: repaint Danh Hoai
- Re: repaint M. van Veen
- Re: repaint Danh Hoai
- Re: repaint Thomas E Deweese
- RE: repaint Danny Ayers
