Login  Register

Re: addKeyListener cannot be added to GLAutoDrawable

Posted by gouessej on Apr 02, 2012; 8:13am
URL: https://forum.jogamp.org/addKeyListener-cannot-be-added-to-GLAutoDrawable-tp3875604p3877027.html

Hi

GLAutoDrawable is an interface used by JOGL, its implementations are not forced by any means to override java.awt.Component or javax.swing.JComponent.

You can put the key listeners directly on your GLCanvas, what's wrong with that?
Julien Gouesse | Personal blog | Website