now allowing java code to also set glcontext attributes via JNI call