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!!!
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!!!