Creates a new JFXPanel object.
JFXPanel
Implementation note: when the first JFXPanel object is created, it implicitly initializes the JavaFX runtime. This is the preferred way to initialize JavaFX in Swing.
Diagram: Swing