AppContext issue in Apple Java 6 -- same issue in Oracle Java 7?

Leonid Romanov leonid.romanov at oracle.com
Mon Jul 1 19:10:54 PDT 2013


On Jun 28, 2013, at 9:32 PM, Artem Ananiev <artem.ananiev at oracle.com> wrote:
> 
> This is a bug in eAWT, which uses SwingUtilities.invokeLater(), but should use SunToolkit.postEvent(AppContext, AWTEvent) or similar.
> 

What do you think about introducing a new API, like SwingUtilities.invokeLater(Runnable runnable, Component target) which would invoke the runnable using the target's AppContext? It might be useful both for AWT/Swing engineers and apps writers.

Leonid.





More information about the macosx-port-dev mailing list