Hi,

On Thu, 2006-07-06 at 22:00 -0400, Marc Collin wrote:
> hi
> 
> svgCanvas = new JSVGCanvas(
> 
> 
> with can i to set directely a fileName to svgCanvas?
> 
> we can't do
> 
> svgCanvas.setURI("test.svg");

You might try
File file = new File("test.svg");
svgCanvas.setURI(file.toURI());

note: test.svg is relative path, make sure the java class run in the
same folder / directory as test.svg, if not you could use absolute path

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com


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

Reply via email to