3

I am programming the admin part of a Swing application using WindowBuider, it would basically be tables filled with items which I need to do a CRUD operations on them. the Data comes from MySQL database. I can do it by hand but, it will take too long

Is there an easy way to do that ? using something like in Access forms...

Thanks

Momo
  • 2,471
  • 5
  • 31
  • 52

3 Answers3

1

Standard Swing components a too low level and do not provide anything like you need. If commercial solution is suitable from you, have a look at JIDE components.

01es
  • 5,362
  • 1
  • 31
  • 40
1

The article Binding Beans and Data in a Desktop Application shows how to bind persistent data to Swing components. NetBeans can generate entity classes from a database and create the corresponding Persistence Unit using any of several providers. This very simple example began with a Customer entity derived from an H2 Database and accessed via a Top-Link Essentials provider.

Community
  • 1
  • 1
trashgod
  • 203,806
  • 29
  • 246
  • 1,045
0

The NetBeans Platform contains all kinds of tables and data binding. Because it's built with Swing, you can use the components in regular swing apps.

Daniel
  • 10,115
  • 3
  • 44
  • 62