java.lang.IllegalArgumentException: Window must not be zero at java.desktop/sun.awt.X11.XAtom.checkWindow(XAtom.java:774) at java.desktop/sun.awt.X11.XAtom.getAtomData(XAtom.java:465) at java.desktop/sun.awt.X11.XToolkit.getWorkArea(XToolkit.java:805) at java.desktop/sun.awt.X11.XToolkit.getInsets(XToolkit.java:881) at java.desktop/sun.awt.X11.XToolkit.getScreenInsets(XToolkit.java:869) at java.desktop/sun.java2d.SunGraphicsEnvironment.getUsableBounds(SunGraphicsEnvironment.java:274) at java.desktop/sun.awt.X11GraphicsEnvironment.getXineramaWindowBounds(X11GraphicsEnvironment.java:390) at java.desktop/sun.awt.X11GraphicsEnvironment.getMaximumWindowBounds(X11GraphicsEnvironment.java:314) at main.maxWindowBounds(m1016478.java:16923)