JCheckbox in a JTable



Hi,
my JTable has a column containing a JCheckBox (with a renderer and an
editor associated). Until now, it works by checking/unchecking the
checkbox in any of the rows, but I don't know how to let a JDialog
appear once I click on a checkBox, without selecting the checkBox.
In other words, I want to click on the checkBox oonly in order to let a
JDialog appear, then I want the checkBox be checked (selected) only
after I have pressed the button OK in the JDialog.
Now I obtain the JCheckBox selected just after I click on it and the
JDialog appears.

Hope I explained the problem.
Thanks in advance

.


Quantcast