Review request for MACOSX_PORT-539: Need a java.awt.EmbeddedFrame subclass
Leonid Romanov
leonid.romanov at oracle.com
Thu Dec 29 06:25:21 PST 2011
Regarding your nsButtonToJavaButton change. Please be aware that in the case of mouse movement events, button number you get from Cocoa's NSEvent will contain uninitialized value (basically, garbage). Because of it, you can't just translate Cocoa button number into java button number as you do in CPlatformView.deliverMouseEvent
Leonid.
On 29.12.2011, at 18:06, Dmitry Cherepanov wrote:
> Hello,
>
> Please review an initial implementation for http://java.net/jira/browse/MACOSX_PORT-539 at
>
> http://cr.openjdk.java.net/~dcherepanov/7124335/webrev.0/
>
> Basically the fix provides a lightweight implementation of the EmbeddedFrame class (isn't backed by a NSView/NSWindow). The implementation creates an instance of CALayer and exposes it as protected CEmbeddedFrame method.
>
> Please see the bug report http://java.net/jira/browse/MACOSX_PORT-539 for more details about the current version of the fix.
>
> Thanks,
> Dmitry
>
More information about the macosx-port-dev
mailing list