I want to place a JavaFX MenuBar over a JFrame (Netbeans RCP). So I have placed a JFXPanel on the JFrame and have kept the FX Menubar over that. But whenever I click the Menu (when it's not focussed), the first click doesn't work. Only the after I click twice, the Menu is shown.
[Answer / a work-around is provided in the first comment]