You are mixing jsr and old jogl versions here. Your “higher” jogl version is an old pre jsr release and is older than the jogl 1.0.0 you are using. The glDrawPixel is available in the 1.0.0 version but takes a Buffer, not an array.
I see that you are not referencing the jogl jar/dll in your project, so I assume that you copied the files to your jre/ext directory. Just don’t do it, you screw your jogl webstart support by doing it.
To solve this problem, remove all occurences of JOGL and GLUEGEN from your systems path or the JDK/JRE directories. Then download the latest jogl version for your system and extract it somewhere on your harddrive (C:\develop\libs\jogl for example).
After that go to Netbeans Library manager and create a Library for the jogl-files (e.g named OPENGL-DEPS) and add the jogl and gluegen-rt.jar there. Add this libraries to your project and you should be able to compile.
When you try to run it, you should get a message like “no gluegen-rt on java.library.path”. To solve this, go to your projects properties dialog and add -Djava.library.path=: to the JVM-Args input in the Run category.
Alternatively you could install our Opengl-Pack for Netbeans (fastest way is to download from the Plugin Portal, extract the archive and install all NBMs under Tools->Plugins->[Downloaded]), create a new project based on SimpleJOGL and copy your code into the src folder. But don’t forget to clean your system from the JOGL/GLUEGEN files before.