Added a class for playing around with JavaFX.
Extended the example.