Change one line of source code because of the syntax of it is only
supported by Java 1.7.
And OpenGL 1.1 can't run on Mac in the environment of Java 1.7.
Only OpenGl 2.0 or upper version can work.