--- old/src/java.desktop/windows/classes/sun/awt/Win32GraphicsConfig.java 2015-11-05 00:38:23.497468000 -0800 +++ new/src/java.desktop/windows/classes/sun/awt/Win32GraphicsConfig.java 2015-11-05 00:38:23.216197100 -0800 @@ -106,7 +106,7 @@ /** * Return the graphics device associated with this configuration. */ - public GraphicsDevice getDevice() { + public Win32GraphicsDevice getDevice() { return screen; } @@ -182,7 +182,9 @@ * For image buffers, this Transform will be the Identity transform. */ public AffineTransform getDefaultTransform() { - return new AffineTransform(); + double scaleX = screen.getDefaultScaleX(); + double scaleY = screen.getDefaultScaleY(); + return AffineTransform.getScaleInstance(scaleX, scaleY); } /**