On Thu, 5 Nov 2020 11:30:21 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Modified to use bounds. > > GC.getBounds() and Toolkit.getScreenSize() return the same bounds, but the > bounds of the screen, not the window bounds. I guess we need the screen bounds only, no? I guess by window bounds, u mean frame bounds which is anyway set to 300,300 which I did not change. If not, can you say which API to use? ------------- PR: https://git.openjdk.java.net/jdk/pull/955