Re: Possible to have GLCanvas's display() called *after* all other Swing events?
Posted by
gouessej on
Nov 09, 2017; 9:39am
URL: https://forum.jogamp.org/Possible-to-have-GLCanvas-s-display-called-after-all-other-Swing-events-tp4038306p4038307.html
Hi
Do you use an animator? How is GLAutoDrawable.display() called in your software? In my case, the events are queued and treated in the continuous rendering, I have no such problems as far as I know. You can call java.awt.MouseInfo.getPointerInfo().getLocation() in GLEventListener.display(GLAutoDrawable) if you don't want to rely on the mouse listener.