Hello David (and hello to all),

sorry, I have no solution for your problem, but this is very interesting for me, too.
(In the near future, I would need the same functionality.)

But could you describe, how to put a vrml into a jar and load it via an applet, please
?
Or give me a hint to a link on the web ?

Thanx

-Juergen.

David Grace schrieb:

> Hi,
>
> Sorry in asvance if this is the wrong place to ask this question.
>
> I'm trying to load into an applet a wrml file that has been put in a jar
> file. This works fine for a vrml file without any associated textures but if
> the vrml has a texture it throws a strange exception.
>
> Exception: java.lang.IllegalArgumentException: invalid port range: :21
> Last token was "}" at line 23
> java.lang.IllegalArgumentException: invalid port range: :21
>         at java.net.SocketPermission.init(Unknown Source)
>         at java.net.SocketPermission.<init>(Unknown Source)
>         at sun.net.www.protocol.ftp.FtpURLConnection.getPermission(Unknown Source)
>         at sun.net.www.protocol.jar.JarURLConnection.getPermission(Unknown Source)
>         at sun.awt.SunToolkit.getImageFromHash(Unknown Source)
>         at sun.awt.SunToolkit.getImage(Unknown Source)
>         ................
>
> I have no problem loading the vrml files with textures if they are not
> contained inside a jar file.
>
> If anyone could tell me whether this is a bug or there is a workaround it
> would be much appreciated.
>
> Thanks,
>
> Dave.
>
> ===========================================================================
> 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".

===========================================================================
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