On Wed, 2 Apr 2025 14:15:28 GMT, Pabulaner IV <d...@openjdk.org> wrote:
> When trying to register an open URI handler when using JavaFX with a native > menu, this task fails on Mac. > Either the native menu is not shown or the URIs are not received. > > This pull request fixes this issue if AWT is registered after JavaFX, so that > AWT runs embedded inside JavaFX. > It fixes this by introducing a native event to AWT, which can be used by > JavaFX to forward events such as an openURL event. > > JavaFX Pull Request: https://github.com/openjdk/jfx/pull/1755 > Co-Author: @FlorianKirmaier This pull request has now been integrated. Changeset: f6b0f016 Author: Paul H <p.hay...@icloud.com> Committer: Harshitha Onkar <hon...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/f6b0f016f6da5d9c96b21c74d3b906ed8e6ae4b4 Stats: 31 lines in 1 file changed: 28 ins; 3 del; 0 mod 8332947: [macos] OpenURIHandler events not received when AWT is embedded in another toolkit Reviewed-by: kcr, honkar, prr ------------- PR: https://git.openjdk.org/jdk/pull/24379