Added examples for all three ways to construct a JavaFX component.