I am trying to convert the GUI of a program from the old awt and swing libraries to the newer javafx library. Some parts are easy (e.g. JButton -> Button), but the new ja