RFR: 8349096: Split/MenuButton: exception initializing in a background thread

Kevin Rushforth kcr at openjdk.org
Wed Feb 12 23:23:16 UTC 2025


On Wed, 12 Feb 2025 20:15:03 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> ## Root Cause
> 
> The ContextMenu (PopupWindow) cannot be shown in a background thread.
> 
> ## Solution
> 
> Bail out of `show()` if in a background thread.

Let's resolve the general question regarding what to do about the various `*Skin::show` methods before reviewing this particular PR. See #1708

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

PR Comment: https://git.openjdk.org/jfx/pull/1709#issuecomment-2655058326


More information about the openjfx-dev mailing list