windowClosing causes GLCanvas to displose
Posted by Nitram on Aug 28, 2010; 3:18pm
URL: https://forum.jogamp.org/windowClosing-causes-GLCanvas-to-displose-tp1380491.html
Hello,
I have a small problem and I fail to find a way to solve it.
I use a GLCanvas in a java.awt.Frame. This frame receives a windowClosing event, that is fetched by a window listener to display such a "do you really want to close?" window. Sadly the event is forwarded to the GLCanvas also that causes it to dispose. That is pretty much of a problem in case you click "No, don't close"
Is there any way to solve this? So cause GLCanvas to ignore this event.
The used version of JOGL is 2.0.0 b162
Nitram