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

SunToolkit.disableBackgroundErase() needs to support more components

XMLWordPrintable

    • b23
    • generic
    • generic

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: