NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Manipulating a JTable

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
peredur



Joined: 19 Aug 2009
Posts: 27

PostPosted: Thu Apr 26, 2012 11:19 pm    Post subject: Manipulating a JTable Reply with quote

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

PostPosted: Thu May 03, 2012 5:26 am    Post subject: Manipulating a JTable Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo