On Fri, 20 Jan 2023 15:10:17 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> GraphicsConfiguration gc = GraphicsEnvironment. >> >> getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration(); >> Rectangle gcBounds = gc.getBounds(); >> >> This way? > > yes. Updated. ------------- PR: https://git.openjdk.org/jdk/pull/12060