Re: Loading document from jar with Java Web Start

2004-03-25 Thread Marek Berkan
W liƛcie z czw, 25-03-2004, godz. 12:50, Thomas DeWeese pisze: > I would use the ClassLoader 'find' methods. These can then > provide URL's which you can pass to the Canvas. I use ClassLoader's method getResource(...) and it works! Thanks, Marek. -

Re: Loading document from jar with Java Web Start

2004-03-25 Thread Thomas DeWeese
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

Loading document from jar with Java Web Start

2004-03-24 Thread Marek Berkan
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