--- old/src/share/classes/java/awt/GraphicsDevice.java 2013-07-05 19:52:46.994610900 +0400 +++ new/src/share/classes/java/awt/GraphicsDevice.java 2013-07-05 19:52:46.769598000 +0400 @@ -296,6 +296,12 @@ bgColor.getBlue(), 255); w.setBackground(bgColor); } + // Check if this window is in fullscreen mode on another device. + final GraphicsConfiguration gc = w.getGraphicsConfiguration(); + if (gc != null && gc.getDevice() != this + && gc.getDevice().getFullScreenWindow() == w) { + gc.getDevice().setFullScreenWindow(null); + } } if (fullScreenWindow != null && windowedModeBounds != null) { // if the window went into fs mode before it was realized it may