Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable

 
dino gan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to get the actual data which has been selected in a JTable instead of just obtaining the index of the row?
 
Murugan Patham
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the getValueAt(int row, int col) method to get the actual data
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic