Menus and Newt
Posted by 4nt01n3 on Feb 19, 2017; 4:26pm
URL: https://forum.jogamp.org/Menus-and-Newt-tp4037641.html
Hi all,
I was thinking to add a menu bar to my GL application that actually uses Newt.
The GLWindow API provides almost everything to be happy with a single frame. However, even if I do not intend to add a complete GUI, I would like to add a menu bar and probably the system open/save dialog and popups to better integrate my application to the desktop (on Linux, OS X and Windows).
I was wondering if there is a preferred path to follow without losing all the goodness of Newt ?
- Just a bare AWT Frame which has the ability to wrap a Newt window ? However how to pass into fullscreen properly ? What about HiDPI screen and menu support ?
- Use SWT ?
- Use Swing alongside the Newt canvas ?
- Maybe JavaFX ?
- Another way ?
Does someone has some experience on this ?
Thanks a lot !