// determined in 'getBestConfiguration'
GraphicsConfigInfo gcInf0 = Canvas3D.graphicsConfigTable.get(cv.graphicsConfiguration);
AWTGraphicsConfiguration awtConfig = (AWTGraphicsConfiguration)gcInf0.getPrivateData();
// JAWTWindow
JAWTWindow nativeWindow = (JAWTWindow)NativeWindowFactory.getNativeWindow(cv, awtConfig);
nativeWindow.lockSurface();
try {
glDrawable = GLDrawableFactory.getFactory(profile).createGLDrawable(nativeWindow);
glContext = glDrawable.createContext(context(shareCtx));
}
finally {
nativeWindow.unlockSurface();
}
cv.drawable = new JoglDrawable(glDrawable, nativeWindow);
}