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

j.awt.Window::setShape(Shape) paints visible artifacts outside of the given shape

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P2 P2
    • 15
    • client-libs
    • None
    • minimal
    • Java API
    • SE

      Summary

      The specification of AWT does not mention any visual effects which could be used by the window manager. Such effects are out of the control of AWT and are not part of the specification.

      Solution

      The spec should be updated.

      Specification

      src/java.desktop/share/classes/java/awt/Window.java
      
        * that more closely matches the desktop settings.
        * <p>
      + * Visual effects such as halos, shadows, motion effects and animations may be
      + * applied to the window by the desktop window management system. These are
      + * outside the knowledge and control of the AWT and so for the purposes of this
      + * specification are not considered part of the top-level window.
      + * <p>
        * Due to the asynchronous nature of native event handling, the results

            serb Sergey Bylokhov
            dbessono Dmitry Bessonov
            Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: