Integrate JavaFX example from Rakesh Bhatt, refs #241