Just updated JOGL, problem with listeners

Okay so first I’ll say that all my programming knowledge (beyond basics) is self-learned, and it’s hard to learn well that way. In my program, I had the KeyListener and FocusListener added to the autodrawable. Why? Because it worked, and I’m not sure about any other reason. Trying to add it to the frame or canvas brought up static issues. But now that I’ve updated JOGL, the autodrawable isn’t supporting my listeners anymore. Any suggestions?

The GLAutoDrawable is no longer defined as extending from something that allows you to add those listeners. If you add them directly to your GLCanvas or GLJPanel (where you have the type declared as GLCanvas or GLJPanel) you should still be able to add those events.

This happened because JOGL has been updated to support multiple window systems (not all of which use the listeners defined in AWT).