-
Enhancement
-
Resolution: Fixed
-
P4
-
7u6
-
b47
-
x86
-
os_x
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2226242 | 7u6 | Sergey Bylokhov | P3 | Closed | Fixed | b17 |
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().
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().
- backported by
-
JDK-2226242 [macosx] RFE: Refactoring of peer initialization/disposing
- Closed
- relates to
-
JDK-7177173 [macosx] JFrame.setExtendedState(JFrame.MAXIMIZED_BOTH) not working as expected in JDK 7
- Closed