Mathias Schroeder wrote:

this time i put my JSVGCanvas in an internal frame. After that i added a
second internal frame to the parent container.
My problem is, if i switch from the 'canvasframe' to the second and back
the painting is gone. I added a listner to get the frame activation, but
i found no method to do a working repaint/rerendering/rebuilting, all i
got is a rerendering working just one time by setDocument().

'repaint(int x, int y, int w, int h)' doesn't work?

doesn't work, immediateRepaint() isn't working for that reason too

Is paintComponent getting called?


  Also if you replaced updateRenderingTransform() it is possible
that you aren't returning true when you should.


isn't called


so what could i do else or might there be a batik problem?

Well it's possible it is a Batik problem. What version of Batik are you using?

   If you are 'reparenting' the Canvas there was a bug a while back
(I think it was fixed _just_ after 1.5) where the Canvas would
'clean' it's self thinking that it was never going to be used again
(This was done to try and prevent memory leaks).



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



Reply via email to