Learning the JavaFX way of doing things