<AWT Dev> [8] Review Request for JDK-8015477 Support single threaded AWT/FX mode.

Anton V. Tarasov anton.tarasov at oracle.com
Wed May 29 01:49:42 PDT 2013


Hi Petr,

To minimize reflection, would you like to consider calling EventQueue.setFwDispatcher via 
AWTAccessor (which is already set in EventQueue)?

Thanks,
Anton.

On 28.05.2013 13:28, Petr Pchelko wrote:
> Hello, AWT Team.
>
> Please review the fix for the issue:
> http://bugs.sun.com/view_bug.do?bug_id=8015477
> The fix is available at:
> http://cr.openjdk.java.net/~pchelko/8015477/webrev.00/
>
> The issue is just created, so it might not show up on bugs.sun.com
>
> This fix adds a private API to support a single threaded mode for AWT/FX interop.
> The main idea is to delegate some methods of an EventQueue to FX, so that AWT events were processed on FX thread.
>
> Here's the webrev for FX part of changes, for a usage sample:
> http://cr.openjdk.java.net/~pchelko/8015477/webrev.rt/
>
> With best regards. Petr.



More information about the awt-dev mailing list