A simple media player in JavaFX