Change JavaFX to Swing