Hi Marc,
Marc Collin <[EMAIL PROTECTED]> wrote on 08/05/2006 09:00:23 PM:
> public void setImgFile(File imgFile) {
> this.imgFile = imgFile;
> }
>
> public void displayImg(){
> svgCanvas.setURI(getImgFile().toString());
The Canvas wants a URI/URL not a local file system reference
so you should use the 'FILE.toURL().toString()'
> java.io.IOException: Unable to make sense of URL for connection
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]