Java and OpenGL

I want to use Java for GUI and OpenGL for Graphics. That is, I want to invoke OpenGL ‘C’ binding funcs from Java using JNI. It’s just like X to OpenGL using GLX library.
Is it possible ? if it is , how?

Thanks in advance.


Perhaps the most well known lib out there is GL4Java . I have seen a couple of others at Sourceforge but know nothing about them.

[This message has been edited by Aldacron (edited 10-10-2002).]

Here’s a little screenie of an app I started 2 days ago. It’ll eventually be used to build custom pc systems, but at the moment only shows a JTabbedPane, JTree nav structure and GLAnimCanvas components. Let me know if you have any questions regarding dev with gl4java.