I was trying to do screenshots with Java in order to display my ROIs in a montage made of these screenshots but I encountered a problem with the location of the window because of (I believe) the wrong result returned by methods to give screen resolution.
It returns (1536x864) but my screen resolution is (1920x1080).
I tried both methods on a Windows 7 computer and it worked properly, so I’m wondering whether it is a Windows 10 issue or my computer’s problem. (I don’t have other Windows 10 devices to try on).
Thanks for your time.