protected void setup() {
MyBean joe = new MyBean("Joe", "contact@", "How does this crazy form works?", true, MyBean.Subject.QUESTION);
new ObjectPropertyObserver(joe);
// register a factory for the userMap field that is not handled by default
DefaultFactoryProvider.addGlobalFactory(new TypeFieldHandler(MapProperty.class), new MapPropertyFactory());
fxForm = new FXFormBuilder()
.source(joe)
.categorize("-USER-", "name", "welcome", "email", "-DATA-", "subject", "message")
.resourceBundle(ResourceBundle.getBundle("com.dooapp.fxform.Demo"))
.build();
fxForm.setTitle("Dude, where is my form?");