> I am trying to use the method setURI from JSVGCanvas, but I can not get it
> to work.  Please look at source code below and point out what I am doing
> wrong.
> It seems to be a thread problem.  For instance, if I move the
> add(m_JSVGCanvas) and showFrame outside the
> addSVGLoadEventDispatcherListener, the svg file is rendered.
> However, the SVGDocument is null when I try to access it from
> JSVGCanvas.getSVGDocument.

Please have a look at how the example in our tutorial works:

http://xml.apache.org/batik/svgcanvas.html

Hope that will help,
Thierry.


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

Reply via email to