Is there an easy way to associate a Swing interface with a data source

I program the administrative part of the Swing application using WindowBuider, basically these are tables filled with elements that I need to perform CRUD operations. The data comes from the MySQL database. I can do it manually, but it will take too much time.

Is there an easy way to do this? using something like access forms ...

thanks

+3
source share
3 answers

The standard Swing components are too low to provide anything like this. If a commercial solution is right for you, take a look at JIDE components.

+1
source

The Binding Beans and Data article in the Desktop application shows how to bind persistent data to Swing components. NetBeans can generate entity classes from a database and create appropriate retention units using any of several providers. This simple example started with a Customer object obtained from the H2 Database and accessed through the Top-Link Essentials provider .

+1
source

The NetBeans platform contains all kinds of tables and data bindings. Since it is built using Swing, you can use components in regular swing applications.

0
source

All Articles