I am looking for a tool/framework to (automatically) generate a Swing user interface to perform CRUD operations on an underlying database.
I would also like to configure the database fields that should be exposed. Something like django (via modelforms) or ruby on rails features, but in a Java desktop environment.
Have a look at tools like:
MetaWidget http://www.metawidget.org/
Apache Isis
They generate UI's "on-the-fly" but allow you to customise the UI when necessary.
Much better than code generation.
NetBeans does seem like an obvious answer. These guys make a NetBeans plugin that does just that: http://www.morelisland.com/java_services/netbeans_tutorial/midbmetadata_se.htm
I've heard jgoodies does something similar: http://www.jgoodies.com/products/index.html
And more specifically their sub-project, Binding: https://binding.dev.java.net/
I know less about the SwingLabs databinding project, but it looks worth looking into: https://databinding.dev.java.net/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With