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

Swing window sometimes fails to repaint partially when it becomes exposed

    XMLWordPrintable

Details

    • 2d
    • b92

    Backports

      Description

        Sometimes a window fails to repaint when it becomes exposed.

        Further analysis shows the following. When repaint failure occurs, SetDIBitsToDevice() in GDIBlitLoops_nativeBlit() returns 0 with error 87 ("Parameter Error"). This error usually means that the device context passed as the first parameter to SetDIBitsToDevice is invalid, for example this device context handle was released already.

        Attachments

          Issue Links

            Activity

              People

                aivanov Alexey Ivanov
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: