Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable Cell

 
Apan Raj
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JTable and a button clicking on which data from JTable cell is to be taken. Its actually giving all the values except the last cell data. while clicking the button the focus is on the last cell.
Its working fine if I deliberatly lose the focus by clicking come where and then click on the button.
Any solutions ?? I cant expect the user to do that every time.
 
Tim Troy
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Call a method like this:
 
Apan Raj
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Tim.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic