Stop coding forms: FXForm 2 can do it for you!
FXForm2 is a library providing automatic JavaFX form generation.
- Write your model bean
- Generate your form using FXForm2
- Style it using CSS, skins and resource bundles!
Add FXForm to your project dependencies:
<dependency>
<groupId>com.dooapp.fxform2</groupId>
<artifactId>core</artifactId>
<version>11.0.0</version> <!-- Note: For Java 8 use 8.2.11 -->
</dependency>
Get your FXForm...
FXForm<MyBean> fxForm = new FXForm<MyBean>(myBean);
...and add it to your scene!
See Get started.
For more use cases, see samples.
Main features include:
- Automatic form generation and binding to bean properties
- CSS support
- Bean Validation handling (JSR 303)
- Fields reordering and filtering
- Tooltips
- Localization
- Custom factories
- Don't waste time coding forms, focus on styling
- Less code and improved quality
- Easy to use and to customize
- For help, use Stack Overflow.
- If you found a bug, use GitHub issues.
- If you have an idea, use GitHub issues.
- If you'd like to ask a general question, use GitHub issues.
- If you want to contribute, submit a pull request.
Articles about FXForm2 on dooApp technical blog.
JavaFX Third Party Tools and Utilities
Considerations about GUI Generation with JavaFX and Using FXForm2 with EMF Models by Uwe.
Oliver Probst. Investigating a Constraint-Based Approach to Data Quality in Information Systems, 12.2.5.1 FXForm2, pages 85-88.
Infiltrea, an application dedicated to the measure of the airtightness of buildings, is using FXForm2.
FXForm2 is licensed under the Lesser GPL license.