----- Original Message -----
From: "Thomas DeWeese" <[EMAIL PROTECTED]>
To: "Batik Users" <[EMAIL PROTECTED]>
Sent: Friday, November 21, 2003 6:17 PM
Subject: Re: repaint problem??


> 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?

if i do this :

    Graphics g = canvas.getGraphics();
    canvas.paintComponent(g);

the canvas flickers for a second and then its clear


>
> >>   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?

i did an update with the batik libs form the cvs sources dated 16.11.03.
the good news, my program still works as good as before, but the bad news
not better either
JComponent.paintImmediately() doesnt work too


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

Reply via email to