Building UI forms for editing model objects is a repetitive task. That’s why we have started a small project called FXForm to provide automatic form generation for JavaFX objects. The goal of this library is to easily create customizable forms for any JavaFX object.
A small example might be more talkative. Let’s imagine you have the following model class:
and you need a form to edit an instance of this class. FXForm allows you to generate this form with a few lines of code:
and you will get something like this:
Aucun commentaire:
Enregistrer un commentaire