Introduction - If you have any usage issues, please Google them yourself
The Java JOGL OpenGL binding using Netbeans.
Lesson 2: The second lesson deals with the production of geometric primitives with GLU and GLUT.
Credit goes to http://www.jogl.info