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

SunToolkit.disableBackgroundErase() needs to support more components

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b23
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Investigation has revealed that the root cause of certain flickering with applets (for example, during some applet resizes, and when resizing the "gray box painter" responsible for painting a custom image or the Java logo during applet loading) is due to the AWT's native background erasure.

        The SunToolkit.disableBackgroundErase(Canvas) method added for 6333613 needs to have an overloaded variant added, SunToolkit.disableBackgroundErase(Component), which should take effect for any applicable component and ignore others. Currently this seems to mean any component with a WCanvasPeer or XCanvasPeer, which includes the EmbeddedFrame subclasses.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kbr Kenneth Russell (Inactive)
                Reporter:
                kbr Kenneth Russell (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: