Hi Yiling, Th problem is that the following:
SVGGraphics2D svgG2D = new SVGGraphics2D(tempDOM ); swingPnel.paint(svgG2D);
Does not put the resultant SVG in tempDOM it simply says that tempDOM should
be used as the factory for DOM elements. In order to get the DOM generated
by 'swingPnel.paint(svgG2D)' you need to call 'svgG2D.getRoot(tempDOM.getRootElement())'
or something similar.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]