In book Pro Java 6 3D Game Development: Java 3D, JOGL, JInput and JOAL to obtain GLDrawable following code is used:
drawable = GLDrawableFactory.getFactory().getGLDrawable(this, caps, null);
sadly its not work anymore, i tried change it to:
drawable = GLDrawableFactory.getFactory(GLProfile.get(GLProfile.GL2)).getGLDrawable(this, caps, null);
but it seems like GLDrawableFactory doesn’t have getGLDrawable method anymore. It have createGLDrawable that takes different argument but im not sure if its equal to getGLDrawable. Can anyone help me?