Using build 1.0 of Jogl (from April) under OS X with java 1.4.2_05
I have a Frame that I am adding a GLCanvas to, and I am not running in full screen mode. The odd bit is that my keyboard commands work fine until I switch to another window and switch back, resize the window, or click in the window. Then, keyboard events no longer reach my window.
Has anyone else seen this, or perhaps more importantly, does anyone know how to work around it?
thanks all!
//code from my Frame ctor
addKeyListener(this);
// get a GLCanvas
GLCapabilities capabilities = new GLCapabilities();
canvas = GLDrawableFactory.getFactory().createGLCanvas(capabilities);
canvas.addGLEventListener(this);
BorderLayout.CENTER
// to make the canvas stretch to fill the container (ie, the frame)
add(canvas, BorderLayout.CENTER);