I have a bunch of credits and licensing info I need to make available with my game, and was thinking of using a Swing dialog to display the info.
I searched for ‘lwjgl swing’ and found quite a bit of discussion. It sounds like some have used Swing with LWJGL successfully, while others have run into problems. My particular use case is very simple though, so I’m wondering if it would be safe. The details are:
- LWJGL 2.9.3.
- The main window is just a regular native window.
- The dialog is a modeless JDialog with some scrollable text and a ‘close’ button.
- It’s fine if the dialog isn’t visible when the main window is fullscreen.
I tried it with OS X, Windows XP and 7, and Linux (Ubuntu), and didn’t see any problems. If I’m going to use this method though I want to be sure it’s supported and won’t break unexpectedly on other systems.
So, I’m appealing to the LWJGL experts here. Is this particular use of Swing with LWJGL supported and safe to do? And if so, is there anything I need to watch out for?