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

Swing applications do not get repainted coming out of sleep on Windows 10

XMLWordPrintable

    • b05
    • x86
    • windows_10

      Upgraded to java 19 on Windows 10.

      Noticed that after coming out of sleep mode (overnight), some of my Swing applications do not get repainted, showing empty panels instead (screenshots to follow).

      Dragging other windows over the affected applications produce no change, but minimizing and subsequent restore does help.

      works correctly -
      jdk-11.0.16.1
      jdk-17.0.5
      jdk-18.0.2.1

      fails -
      jdk-19.0.1
      jdk-20

        1. after.png
          after.png
          88 kB
        2. after mouse over.png
          after mouse over.png
          22 kB
        3. before.png
          before.png
          11 kB

            psadhukhan Prasanta Sadhukhan
            angorya Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: