I don't know much about applet programming, but two possible issues:
1) Dont you have to use a URL to specify a loadable resource like a file if
it is running inside of an applet?
2) Looks like you are using the Applet as the component watcher for the
texture loader. Will this work if the Applet is not completely
initilialized, i.e. it is in the contructor?
David Yazel
----- Original Message -----
From: Z H <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 8:15 PM
Subject: [JAVA3D] bug for applet using TextureLoader.getImage()?
Hi,
I think this might a bug:
the applet failed to be initialized when using the
following code to add a background image to the scene.
TextureLoader loader
=new TextureLoader("background.jpg", this);
ImageComponent2D image=loader.getImage();
the applet seems corrupted when the method getImage()
is called.
the last email I sent has the full version code.
please try it out, I think this is a bug.
Richard,
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.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".