• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTables again

 
Shyam Sankar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Suppose I have two columns - Id and Name in a JTable. Id is editable whereas Name is not. On F9 pressed event in the editable field, I have a pop-up with values for Id and Name. On selecting a value, these should be set in the JTable. I am using the setValueAt method for setting the value. The value for the non-editable field is getting set whereas the value for editable field is not. Why?
Thanks
Best Wishes
Shyam
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not post the relevant code?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!