Hello. Please review the fix for JDK 15. Bug: https://bugs.openjdk.java.net/browse/JDK-8233573 Fix: http://cr.openjdk.java.net/~serb/8233573/webrev.00
All implementations of java.awt.Toolkit#getScreenInsets() on all platforms will check the passed GraphicsConfiguration/GraphicsDevice and call super if a device is unknown, in this case the empty insets will be returned. -- Best regards, Sergey.