< prev index next >

src/java.desktop/share/classes/java/awt/SplashScreen.java

Print this page

        

@@ -249,11 +249,11 @@
             float scale = _getScaleFactor(splashPtr);
             Rectangle bounds = _getBounds(splashPtr);
             assert scale > 0;
             if (scale > 0 && scale != 1) {
                 bounds.setSize((int) (bounds.getWidth() / scale),
-                        (int) (bounds.getWidth() / scale));
+                        (int) (bounds.getHeight() / scale));
             }
             return bounds;
         }
     }
 
< prev index next >