>>>>> "JM" == James McArthur <[EMAIL PROTECTED]> writes:

JM> I have a JSVGCanvas sitting in a JPanel.  I load an SVG via setURI
JM> and it displays onto the JSVGCanvas.

JM> If I then move an Xterm in front of my Java window, then bring my
JM> Java window to the font again, my SVG has disappeared.

JM> I have a GVTTreeRendererListener on the JSVGCanvas, and it only
JM> shows rendering starting/completed when the SVG is first loaded
JM> and displayed.

    This is expected as long as the SVG hasn't changed it will repaint
from a BufferedImage (avoiding the potentially very large overhead of
redrawing the SVG from scratch).

JM> repaint () doesnt seem to redraw the SVG.  validate() doesnt want
JM> to work either.

JM> Any Ideas? Have I missed something really obvious?

    Since this doesn't seem to be a problem in the Squiggle Browser I
would think so but I can't figure out what...

    You are the second person to report redraw issues when the
JSVGCanvas is embedded in other Swing components.  If possible can you
send me a self contained example that shows this?

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

Reply via email to