Login  Register

Best way to overlay widgets (buttons, checkboxes, etc) onto the GLCanvas or GLJPanel?

Posted by rrr6399 on Feb 27, 2022; 4:08am
URL: https://forum.jogamp.org/Best-way-to-overlay-widgets-buttons-checkboxes-etc-onto-the-GLCanvas-or-GLJPanel-tp4041654.html

Hi,

I'm using NASA WorldWind for my globe, which is a JOGL application and would like to create a globe-centric view with some widgets like buttons, checkboxes, cascading buttons positioned around the perimeter of the globe with the space between the components being transparent. This Window would be embedded into a Swing application.

What is the current best way to accomplish this these days? Is there some way to embed AWT, Swing, JavaFX or SWT components onto the globe?

Has anybody successfully integrated OpenGL widgets from a C++ library like DISTI's or nanogui into a JOGL window?

I was hoping by now that here was a widget library that would interoperate with JOGL. If there really aren't any good solutions, I imagine I'll have to create custom widgets with JOGL calls, which is not my ideal approach.

Thanks,

Rob