It's important to note that the `JFXPanel()` const...
# tornadofx
e
It's important to note that the
JFXPanel()
constructor must be called prior to instantiating MyView, unless JavaFX has been initialized earlier. The JFXPanel constructor takes care of initializing JavaFX for you so that the View can be created without crashing.