Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8218605

Startup Splash Screen of SwingSet2 flashes in smaller coordinates before appearing in the final size

XMLWordPrintable

    • 2d
    • b01
    • b02

        This was tested on Windows 10 x64 machine

        Run 2 instances of SwingSet2 application with sun.java2d.dpiaware set to true /false.
        $JAVA_HOME/bin/java -jar -Dsun.java2d.dpiaware=true SwingSet2.jar &
        $JAVA_HOME/bin/java -jar -Dsun.java2d.dpiaware=false SwingSet2.jar

        Observe and Compare the size and position of the splash screen at startup.
        With dpiaware flag set to false it opens up as expected in the screen and app center, and stays in the same position till it is disposed and replaced by the application.
        With dpiaware flag set to true it opens up closer to the top left corner of the screen and open in a smaller size for a second and then flashes back to the center of screen in a slightly bigger size.

              aivanov Alexey Ivanov
              smandalika Srinivas Mandalika
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: