[8] Review request for CR 8006406: lightweight embedding in other Java UI toolkits (original) (raw)

Anton V. Tarasov anton.tarasov at oracle.com
Fri Feb 8 09:27:15 PST 2013


Hi All,

Please, review the changes for the CR: http://bugs.sun.com/view_bug.do?bug_id=8006406

webrev: http://cr.openjdk.java.net/~ant/8006406/webrev.6

It introduces sun.swing.JLightweightFrame class, aimed at lightweight embedding of Swing components into java-based toolkits. The primary target is JavaFX toolkit, however the class is not limited to this usage and the API it provides is quite generic.

Below I'm giving a link to the jfx side implementation. This implementation should not be reviewed in this thread (it is in a pre-review phase), it should just clarify how the introduced API is supposed to be used. Namely, SwingNode.SwingNodeContent which implements sun.swing.LightweightContent and forwards requests from sun.swing.JLightweightFrame to NGExternalNode which does the rendering.

webrev: http://cr.openjdk.java.net/~ant/RT-27887/webrev.1

Some comments on the awt/swing part:

Thanks, Anton.



More information about the awt-dev mailing list