--- old/src/macosx/classes/sun/awt/CGraphicsConfig.java 2013-02-22 17:21:48.354783200 +0400 +++ new/src/macosx/classes/sun/awt/CGraphicsConfig.java 2013-02-22 17:21:48.043765400 +0400 @@ -53,7 +53,7 @@ @Override public Rectangle getBounds() { - final Rectangle2D nativeBounds = nativeGetBounds(device.getCoreGraphicsScreen()); + final Rectangle2D nativeBounds = nativeGetBounds(device.getCGDisplayID()); return nativeBounds.getBounds(); // does integer rounding }