• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to copy checked rows from one jTable to another?

 
M Ram
Greenhorn
Posts: 4
IntelliJ IDE Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

My task is like below,

1. I've a data in Table t1 with first column as checkboxes.
2. when ever i check the particular checkbox, the entire row must be copied to another table.
3. when i uncheck any particula checkbox from the first table, that particular copied row must be deleted from second table.

The above is my issue past 4 days. Guys any one who could help me with the code and explanation. I really am stuck at this in entire project. I've tried a code for this,


      
code1.PNG
[Thumbnail for code1.PNG]
When checked from the first table.
code2.PNG
[Thumbnail for code2.PNG]
When unchecked first checkbox
 
Dave Tolls
Ranch Hand
Posts: 2276
23
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!