Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

Jrcastro Ribeiro
Posts: 27
  • 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