Sorry for late reply.
And thank you for your comment I could get run with your solution too.
Now I have been trying how to manipulate OpenGL 3d objects with some kind of KeyEvent.
But still I cannot.
whreckz wrote:the variable glc out of scope. since it was declared in a different method
here's a more appropriate solution for the null exception error.