checkbox in JTable - event must fire ONLY on clicking box
614170Feb 23 2011 — edited Feb 28 2011Hi,
I have a Jtable implementation and for a boolean value column i have it as a checkbox. due to the column header field being too big for this, the column is much bigger than the checkbox. the checkbox can be toggled by clicking anywhere in the field. i dont want this behavior. the value should toggle only when i click on the box (the square box with tick/untick) and not in the surrounding of the box in the empty area.
is this behavior possible. the default is, it toggles the box when clicked anywhere in that cell.
appreciate any responses.
thanks,
khan