I managed to get hold of the org.netbeans.core.windows.view.ui.MainWindow
and put it in a JavaFx Stage,
however, much of the behavior got lost in the process so I guess this isn't
the way to go.
My little test is available at
https://github.com/trixon/stagewm/blob/master/core/src/main/java/se/trixon/stagewm/core/Initializer.java
Maybe it's possible to improve it, or focus on a JavaFx WindowManager.

Den mån 16 sep. 2019 kl 12:49 skrev Patrik Karlström <[email protected]>:

> I'm working on a hybrid platform app in the sense of combing Swing and
> JavaFx.
> Swing is used for the main window, dialogs and the "window manager tabs",
> everything else is JavaFx, including the content of the TopComponents.
> The tool- and statusbar is also JavaFx.
>
> https://mapton.org/wp-content/uploads/2019/07/2019-07-25-174127_1280x800_scrot.png
>
> Now I'm entertaining the idea of using a JavaFx Stage as the main window
> and make all dialogs in JavaFx too.
>
> I have written platform applications with a Stage in the past, but not
> with the WindowManager.
>
> Is it possible to add the default org.openide.windows.WindowManager to
> a javafx.embed.swing.SwingNode?
>
> If so, how do I get hold of the component that represents the window
> manager ui?
>
> -Patrik
>

Reply via email to