Hi Eelco,

At 00:26 21.08.00 , you wrote:
>a Canvas3D. However, every time I read VRML code using the Reader, this
>Exception is caught:
>
>java.net.MalformedURLException: no protocol: ./
>         at java.net.URL.<init>(URL.java:308)
>         at
>co

Yep, I had the same problem. Seems that the code is not smart enough to
realize it can load the data without a valid URL if you take care of the IO
yourself.

My solution was to:

       ldr.setBaseUrl(new java.net.URL("file://.")); // avoid
MalformedUrlException

just to make it happy and keep it quiet.

Enjoy!

-Carl-

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to