Maintenance Notice

The site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
JDK-7154778 : [macosx] NSView-based implementation of sun.awt.EmbeddedFrame
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u4
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2012-03-19
  • Updated: 2014-10-15
  • Resolved: 2012-12-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
7u40Fixed 8 b69Fixed
Related Reports
Relates :  
Relates :  
sun.lwawt.macosx.CEmbeddedFrame is a lightweight, CALayer-based implementation of sun.awt.EmbeddedFrame to embed AWT/Swing applets to browser. However, This is not the only case where embedded frames are used, for example, SWT utilizes it for SWT_AWT bridge.

In JDK6, Apple provided NSView-based (heavyweight) subclass of sun.awt.EmbeddedFrame, and this is what SWT expects from JDK7 as well. So we'll need one more implementation. Note that it will unlikely be named exactly as in JDK6 (apple.awt.CEmbeddedFrame), so some code changes in SWT will be required too.

This is a new API for SWT, so it's hard to create a regression test for it

I can create CViewEmbeddedFrame extracting a native window pointer out of a regular Frame. So, there IS an implementation:-). Verified.

EVALUATION forum thread about this issue: SWT bug in Eclipse bugzilla: