|
I am trying to lay a texture on a sphere. I have
some code that works( in .Jar file) but I use the same exact code in mine, yet
it says:
Can't convert Drawing(the class name) to
java.awt.Component.
Code that Works
TextureLoader texture1_ = new
TextureLoader(ClassLoader.getSystemResource("earth.jpg"),new
String("RGB"),this);
Can anyone help?
Zak
|
- [JAVA3D] TextureLoader Your Name
- Zak
