Basic functionality with JavaFX 8