int[] greenBits = new int[1];
int[] blueBits = new int[1];
int[] alphaBits = new int[1];
int[] stencilBits = new int[1];
int[] depthBits = new int[1];
gl.glGetIntegerv(GL.GL_RED_BITS, redBits,0);
gl.glGetIntegerv(GL.GL_GREEN_BITS, greenBits,0);
gl.glGetIntegerv(GL.GL_BLUE_BITS, blueBits,0);
gl.glGetIntegerv(GL.GL_ALPHA_BITS, alphaBits,0);
gl.glGetIntegerv(GL.GL_STENCIL_BITS, stencilBits,0);
gl.glGetIntegerv(GL.GL_DEPTH_BITS, depthBits,0);