instance2.setName("Julio");
instance2.setAge(4);
new ObjectPropertyObserver(instance1);
new ObjectPropertyObserver(instance2);
final FXForm fxForm = createFXForm();
Scene scene = new Scene(root);
scene.getStylesheets().add(Demo.class.getResource("style.css").toExternalForm());
ChoiceBox<FXFormSkinFactory> skinChoiceBox = new ChoiceBox<FXFormSkinFactory>();
skinChoiceBox.getItems().addAll(FXFormSkinFactory.DEFAULT_FACTORY, FXFormSkinFactory.INLINE_FACTORY);
skinChoiceBox.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<FXFormSkinFactory>() {
public void changed(ObservableValue<? extends FXFormSkinFactory> observableValue, FXFormSkinFactory fxFormSkin, FXFormSkinFactory fxFormSkin1) {
fxForm.setSkin(fxFormSkin1.createSkin(fxForm));