See sample program 2 and 3
|C:||gluNurbsCallback(theNurb, GLU_ERROR, nurbsError);|
|JSparrow:||gluNurbsCallback(theNurb, GLU_ERROR, "nurbsError", this);|
See sample program 5.
JSparrow also provides special Components for convenience such as OGLCanvas, OGLPanel. If you extends these classes, the source code of the program is much similar to C.
See sample program 1 and