Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Add a single row from a AbstractTableModel to another AbstractTableModel after press a button  RSS feed

 
Jrcastro Ribeiro
Greenhorn
Posts: 29
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The idea is to remove one row of the left TABLE when the right button is pressed and them add the line to the table of the right.

The items from the left table come from database

I have 2 columns.

How can i add a single row at table of the right using the AbstractTableModel class?


thats my Swing



That's my AbstractTableModel class:




And thats my class Layoutsos




and thats how a insert data coming from database in my table
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!