[nbusers] Manipulating a JTable

  • From: "peredur" < >
  • To:
  • Subject: [nbusers] Manipulating a JTable
  • Date: Thu, 26 Apr 2012 23:19:43 +0000

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






[nbusers] Manipulating a JTable

peredur 04/26/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 25 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20150226.965aeb8). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close