Re: What are NEWT Screen and Display?
Posted by
gouessej on
Dec 13, 2013; 9:02am
URL: https://forum.jogamp.org/What-are-NEWT-Screen-and-Display-tp4030839p4030876.html
jmaasing wrote
No I have not, I have no instance of the Display class to call that method on. But I figured out what I did wrong, I called the method before I opened any NEWT windows. After I have created and opened a NEWT window I can query Display.getAllDisplays() and Screen.getAllScreens();
Actually, it is possible to get this information before opening any NEWT window, I do so in TUER and I think that there is at least one unit test doing that too.
jmaasing wrote
Thank you for your explanation, that would be a good thing to add to the javadoc :)
You're welcome. You can still write a bug report pointing to this thread as this is a documentation bug. I would like to know Sven's opinion about what I wrote about these classes.