java and opengl

what about java with opengl, is it better or c?

Depends on what you want. One advantage of using OpenGL with java is that you get full portability, which may be a lot harder to get in c. However, java is much slower than c (but more elegant).

thanx alot,but as i know portability is not the only advantage in java,other main advantage is avoiding using pointers and the standared packages in java,i think so!!!
any way,would you please tell me how to use ilumination in opengl,i need it realy,and thank you again

Look under the “Omni light” thread… that should explain it…

I have been looking into using OpenGL from Java as well. I have not made a lot of progress, but I have summarized what I’ve found and added it to the FAQ I maintain. It might be useful to you…
http://games.cpbinc.com/faq/ogl.htm