I was a Java application on OS X and was not able to fully test in different places.
There are 2 different JFrame s. The second one loads exactly instead of the first one, and as such should have its size and location set in the same way as the first ones.
This works fine, but I noticed that many Windows users seem to maximize the first window. When the second JFrame loads, it is the same size but not "maximized."
Maximum windows in the MS Windows world have a slightly different state and are handled differently by the OS.
How can I determine what is the maximum size of a JFrame, and how can I maximize it myself?
source share