Hi Marek,

I would use the ClassLoader 'find' methods.  These can then
provide URL's which you can pass to the Canvas.


Marek Berkan wrote:


Hello.

I have a problem: My application use JSVGCanvas to display svg document.
SVG file is in 'resources' directory and when I starts application
locally all works fine. But when I starts it as Java Web Start loading
with URI canvas.setURI(...) not work. I try with uri like
"jar:file:///myjar.jar!/resources/doc.svg", but this uri points to root
directory at client machine. But I don't now where jws is placing
downloaded jars...

So, it is possible, and how to load svg document with JSVGCanvas from
jar downloaded by Java Web Start?

Regards,
Marek.


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



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



Reply via email to