By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,651 Members | 1,316 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,651 IT Pros & Developers. It's quick & easy.

How to detect data change in Jtable?

P: 25
I am using JTable to store data. How to detect whether any cell contents is changed or not? I want to update data while clicking a button. If i update without detecting the change then data with no change are also required to update. So I want to update only those data whose contents are changed.

Data can also be update while changing the cursor focus but I think it is not better because it requires frequently communication with database.

So, Please help me to overcome this problem.
Thank you for your kind co-operation.
Mar 31 '13 #1

✓ answered by r035198x

Share this Question
Share on Google+
1 Reply

P: 13,264
Consider a table model listener:
Mar 31 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.