edvin
06/14/2016, 6:22 PMJFXPanel() 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.