On Fri, 28 Feb 2025 15:33:13 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

> MenuBarSkin line 799
> ComboBoxListViewSkin line 199

ComboBoxListViewSkin - thanks for the suggestion!

MenuBarSkin - is a bit more complex case because of the interaction with the 
system menu `Toolkit.getToolkit().getSystemMenu().isSupported()` which needs to 
be called from the FX application thread.

We probably should disallow creating MenuBars in background thread (similar to 
Window, WebView, and HtmlEditor) in the constructor.  What do you think?

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1717#issuecomment-2691393337

Reply via email to