I want to show a FileChooser dialog on top of an awt app which uses a JFXPanel.
As Window for showOpenDialog, I use getWindow() of the Scene set to that panel. But the file chooser appears behind the app and everything in the JFXPanel still remains active (i.e. I can open more FileChooser dialogs, enter text, etc.).
I also found some example code with an additional Stage between the JFXPanel's Scene Window and FileChooser, which uses initModality. But there's no change in behaviour.
Any ideas how to open FileChooser as a modal dialog when the parent's a JFXPanel?