JTable Question...

Joined
Dec 29, 2007
Messages
1
Reaction score
0
Hi,

I am extending JTable for one of my dialog box wherein I have multiple checkboxes with Ok & Cancel button. Issue is that when user clicks on any of these checkboxes "setValueAt()" method (via "editingStopped" method) of JTable gets called by default.

Hence even if you click on Cancel button value gets set for the selected item; I want to call "setValueAt" method once I click on Ok and not on the checkbox.

Any idea how to do this???

Thanks in advance!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,121
Latest member
LowellMcGu
Top