Hi all:
I have the following:

+++++++Begin code listing ++++++++++
DOMImplementation impl = SVGDOMImplementation.getDOMImplementation();

String svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI;

SVGDocument doc = (SVGDocument)impl.createDocument(svgNS, "svg", null);

Element  svgRoot = doc.getDocumentElement();

//add some elements to svgRoot here...

JSVGCanvas canvas = new JSVGCanvas();
jPanel1.add(canvas);
canvas.setSVGDocument(doc);
this.setVisible(true); //this displays the frame that contains the jPanel1.
+++++++End code listing ++++++++++

now after this code,   if i do some change in the tree under svgRoot, what
do i need to do in order to make the view in the jPane1 update to the new
changes in the svg tree?

Many thanks for any help in advance.
hilz





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

Reply via email to