A simple example using the latest JDK 1.8 and JavaFX 8.0, both pre-release at this time.