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

[macosx] RFE: Refactoring of peer initialization/disposing

XMLWordPrintable

    • b47
    • x86
    • os_x
    • Not verified

        There is a problem in the initialization/disposing of the peers.
        1. setVisible() should be called at the end of the peers initialization. We can move super.initialize() to the end of the peers initializations.
        2. Invokelater in the initialization/disposing is a tricky.
        3. replaceSurfacedata() should be moved outside of LWWindowPeer.setVisible()
        4. Backbuffer in replaceSurfacedata() should be initialized by clearRect instead of fillrect(composite is important).
        5. During lwwindowpeer initialization we call two similar methods nativeSetNSWindowAlpha() and setAlphaValue().

              serb Sergey Bylokhov
              serb Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: