NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
peredur
Joined: 19 Aug 2009 Posts: 27
|
Posted: Thu Apr 26, 2012 11:19 pm Post subject: Manipulating a JTable |
|
|
Forgive me if this is a trivial question.
I've created a project with a JForm, which contains a JTable and I've bound the JTable to a database table by dragging the table from the 'Servers' panel to the form. This is all fine and dandy. I can compile and run the project and I get a form with the data all displayed. I can also edit the data in the running application.
What I don't know how to do, however is how I can save any changes I make. And I can't see how I can add a new row to the table (and save it, of course) or delete a row from the table (and save it).
I must be missing something really obvious, but if somebody could just push me in the right direction I'd be very grateful...
Thanks
Peter |
|
| Back to top |
|
 |
Thufir
Joined: 06 Apr 2010 Posts: 116
|
Posted: Thu May 03, 2012 5:26 am Post subject: Manipulating a JTable |
|
|
I thought that beans binding was removed from Java?
Status: Withdrawn
http://jcp.org/en/jsr/detail?id=295
How does that impact what you are doing here, I wonder? Don't you need
to use a third party library? There are tons, or so I understand.
Thufir |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|