• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to copy checked rows from one jTable to another?  RSS feed

M Ram
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,

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