A JavaFX demo app taken from this website http://code.makery.ch/java/javafx-8-tutorial-intro/