Generally, this case results from some errors in
your applets. Maybe you developed your programs and properly run them in
Java application mode, however some incompatibilities between Java applet and
Java application need to distinguish, otherwise this case will be occur on the
web page. Another case is using inappropriate version. We ever used IE under
Windows XP, the similar problems that you described occurs, but we are using IE
under Windows 2000, all are normal. Please remember some incompatibilities in
reading the file name maybe produces some problem. I give the example as
follow:
Incorrect method,
String
filename = "earth.jpg";
System.out.println("attempt to load texture from file: "+filename); TextureLoader loader = new TextureLoader(filename, this); ImageComponent2D image = loader.getImage(); ---------------------------------------------------------------------------------------------------------------- Incorrect method, new
java.net.URL(getCodeBase().toString() + "earth.jpg");
-----------------------------------------------------------------------------
Rgds,
Cheng Chang Dong
|
- Re: [JAVA3D] Darrin Smith
- [JAVA3D] Honnet Vincent
- Re: [JAVA3D] Alex Terrazas
- [JAVA3D] Lew Mun Hung Joseph NCS
- Re: [JAVA3D] Eric Berry
- [JAVA3D] Alex Terrazas
- Re: [JAVA3D] Kelvin Chung
- [JAVA3D] Lan Wu-Cavener
- [JAVA3D] Maung Min
- Re: [JAVA3D] Mark Hood
- [JAVA3D] Cheng Chang Dong
- [JAVA3D] xhsun
- Re: [JAVA3D] heli
- Re: [JAVA3D] xhsun
- Re: [JAVA3D] Cheng Chang Dong
- [JAVA3D] MMB B
- [JAVA3D] Charles Bell
- [JAVA3D] Nunnari Fabrizio
- [JAVA3D] conzuk
- [JAVA3D] Viacheslav Rogozhnikov
- [JAVA3D] Olivier Bourion