Closed dosier closed 10 months ago
Hi @dosier , I've just added a minimal example of Lets-Plot in JavaFX application. It is a stripped off version of other minimal demos:
https://github.com/alshan/lets-plot-mini-apps/tree/main/jvm-javafx-app
The app works fine. Try to work up from here by adding controls and so on to figure out at what point it stops working.
I am trying to display a plot in a JavaFX application. My idea was to nest a JPanel inside a SwingNode and add this to a JavaFX node. I have adapted the example shown here: https://github.com/JetBrains/lets-plot-kotlin/blob/master/demo/jvm-javafx/src/main/kotlin/minimalDemo/Main.kt
My current solution is:
Which I then use as follows:
However, nothing shows up. Am I missing something here?