Login  Register

Render problems for custom context menu in OpenGL / SWT

Posted by alexsb on Jan 14, 2011; 12:55pm
URL: https://forum.jogamp.org/Render-problems-for-custom-context-menu-in-OpenGL-SWT-tp2255271.html

Hi.

I'm trying to open a context menu on a right mouse click, when picking an item in opengl. I use the swt/awt bridge for jogl.

Opening the menu out of opengl works fine as long as I don't open it using a click - i.e. opening the menu on a mouse-over event works as expected, but not when I click the item. I suspect that the click triggers the menu to be closed immediately.  Does anyone know how I could avoid that?

Thanks & cheers,

Alex