Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

data to JTable to JTable  RSS feed

 
tadi raja
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to get data of one row of a JTable to another JTable ??
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by tadi raja:
How to get data of one row of a JTable to another JTable ??


Check out DefaultTableModel#getDataVector() and DefaultTableModel#insertRow(int row,Vector rowData) and DefaultTableModel#addRow(Vector rowData)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!