Hi Karl,

- make sure you don't silently catch an Exception; the exception could give you
a hint of what is going wrong
- assure the permissions for accessing the image files are set properly,
otherwise you wan't get access to them.
- assure you load them from the appropriate url with appropriate protocol (e.g.
http://myserver:8080/applet/image0.jpg), also note that if you access them via
file://... your applet won't allow the access, because of security reasons
(anyway this would really work from another computer than yours).
- you can also try to compose the url yourself to be able to control it in an
improved fashion: you can access the codebase or documentbase URL from the
applet context of your applet. (something like:
applet.getAppletContext().getDocumentBase...();) and build your image url from
it.

i hope that at least one of the above applies to your problem...

cheers,
Karsten



Karl Parry wrote:

> I am struggling to allow textures within my 3D applet
> within my browser.
>
> I have looked at other applets containing textures,
> but the HTML code is no different. Do I need to place
> the textures anywhere different, at the moment they
> are in the same folder as the class file, and html
> file.
>
> I think the only problem with my applet is the fact
> that the textures are not loading. Does anyone have
> any thoughts? I'd really appreciate any ideas, cheers
>
> KP
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> ===========================================================================
> 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