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

    Details

    • Subcomponent:
      2d
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b02

      Backports

        Description

        his 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=true 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 replcaed 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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: