Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue with JTable Cell

 
Rohit Kedia
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I am having a peculiar Issue with JTable Cell.

Situation:
I am updating a Cell(of a Particular Row so the Cursor is on that Cell),
after entering the value (still the Cursor is on that Cell)
I am clicking a Button which is taking the Data from the TableModel and Updating in the Database .
At this time I can see that the value which I entered is not getting updated in the TableModel

so that value is coming null.

Is there any way We can solve this Issue.
 
Rob Camick
Ranch Hand
Posts: 2533
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Table Stop Editing
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic