JavaFX changed to swing.