Adding JavaFX Properties to a DTO

Posted on Mon 21 March 2016 in JavaFX • Tagged with annotations, DTO, FXForm2, JavaFX, JSR 303, UI, Wrapper

Now that I have understood what a DTO is good for, I'm thinking about ways to improve it. As they are right now, our DTOs are POJOs extended by JSR 303 annotations for defining constraints on their fields/methods. The annotations are duplicates of the annotations defined on the corresponding …


Continue reading

Using FXForm2 with EMF Models

Posted on Fri 08 November 2013 in EMF, JavaFX • Tagged with data model, forms, FXForm2, GUI generation, Java, Java Bean, JavaFX

Based on these considerations from July, we gave FXForm2 a shot for generating forms from EMF models. It worked quite smoothly after we wrote the factories that defined how the custom data types used in our models should be displayed.

We found a few things that are worth noting:

  1. Using …

Continue reading

GUI Generation with JavaFX

Posted on Fri 12 July 2013 in 3D, EMF • Tagged with data model, drag & drop, Eclipse, EMF Client Platform, EMF Edit, forms, FXForm2, GUI generation, Java, JavaBean, JavaFX, open source, RCP, real world, scene graph

Recently, we have had a look at JavaFX libraries for generating UIs in a dynamic way. The idea is that we have a data model (a JavaBean class, an EMF model class, a model class with JavaFX properties,...) as input for some GUI builder that takes the model and generates …


Continue reading