hi,
i'd like to have a preview window popping up, showing some 3d stuff and closing afterwards (as soon as you click the X in the title bar). so far i am almost able to do so, my big problem is:
if i use opengl (or any other but the default renderer) as renderer for the child window, my parent window freezes. basically i did this: http://www.sojamo.de/libraries/controlP5/examples/extra/ControlP5frame/ControlP5frame.pde and added a WindowListener() to the 2nd frame).
i know JOGL should be able to handle multiple windows (frames) , but how could i do the trick when using PApplet?
thanks for any hints in advance!
i'd like to have a preview window popping up, showing some 3d stuff and closing afterwards (as soon as you click the X in the title bar). so far i am almost able to do so, my big problem is:
if i use opengl (or any other but the default renderer) as renderer for the child window, my parent window freezes. basically i did this: http://www.sojamo.de/libraries/controlP5/examples/extra/ControlP5frame/ControlP5frame.pde and added a WindowListener() to the 2nd frame).
i know JOGL should be able to handle multiple windows (frames) , but how could i do the trick when using PApplet?
thanks for any hints in advance!