Hi Janice,

"Janice Tan" <[EMAIL PROTECTED]> wrote on 05/30/2006 10:33:33 PM:

> i realised that when i pan on a transparent background (canvas.
> setBackground(new Color (0,0,0,0)))the canvas seems to redraw over each 
other 
> while moving thus leaving a trail like effect. is there a way that i can 
pan 
> it neatly and cleanly while having a transparent background. 

    How are you panning?  Also did you notify Swing that the canvas 
was transparent (JComponent.setOpaque(false))?

> also, is it possible to clear the canvas that is on the frame of its 
contents 
> before another SVG is drawn on it?

    I don't fully follow the question but I suspect the answer is the
same it's the same as above...


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

Reply via email to