Get started

Antoine Mischler edited this page Feb 20, 2014 · 9 revisions

Stop coding forms: FXForm2 can do it for you!

FXForm2 is a library providing dynamic JavaFX 2.0 form generation.

Create your first form in 5 seconds:

Add FXForm2 to your project dependencies

You need to add the FXForm2 core library to your project dependencies: Add FXForm2 to your project dependencies

Get your FXForm!

MyBean myBean = new MyBean(); // get an instance of the bean to be edited
Node fxForm = new FXForm(myBean);  // create the FXForm node for your bean
root.getChildren().add(fxForm);  // add it to your scene graph

That's it!

What's next?

You can also checkout the source code of the demo module, run the demo with maven and have a closer look at the source code to see how to use FXForm2 features!

cd FXForm2/
mvn clean install
cd demo
mvn exec:java
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.