Re: How to tell if a newt window is maximized?
Posted by GiGurra on Feb 24, 2012; 9:40am
URL: https://forum.jogamp.org/How-to-tell-if-a-newt-window-is-maximized-tp3767837p3772131.html
I dont know the exact delta on diff platforms :). But when I get home tonight I can give you a printout of what my windows 7 system reports.
But this delta is to do with how the system manages windows, it's not caused by JOGL (which is why I believe swing etc provides ways of querying whether a window is maximized or not). You would get the same delta if you write a C application which queries window size and position(for example using the FindWindow fcn on windows) on a maximized instance of Notepad.
Therefor it is important at least for me to be able to query specifically if a window is maximized. SetTopLevelX is of no use on the other hand since the same effect can be achieved with setSize/setPosition based on glWindow size, position and insets.