You probably didn't shut off the Swing double buffer

Yes, I arrived at that conclusion independantly in the meantime.

You might want to use org.apache.batik.svggen.SwingSVGPrettyPrint.print

Thanks, I will try that again later. For the very simple test
I am running now it makes no difference, though.

I'm not sure why this wouldn't have picked this up.

If you step through the source of JComponent and friends you
will see that it does its drawing on a _copy_ of the Graphics
object it is passed: that's why. The SVG stuff still works
correctly because the SVGGraphics2D copy cosntructor lifts
the DOM bits from the original.

-- O.L.


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

Reply via email to