how to trigger celleditor in non editable cell? on jtable

Hi,

i made a custom ButtonEditor (extends AbstractCellEditor implements TableCellEditor), it's basically a button on the jTable, which does things according to the value of the cell.

i want the button can still be clickable even the cell is not editable. how do i do that?

thank you.

[310 byte] By [erv2a] at [2007-11-26 18:09:42]
# 1
Override isCellEditable in JTable and return true for the cells that have this editor.
Rodney_McKaya at 2007-7-9 5:41:44 > top of Java-index,Desktop,Core GUI APIs...
# 2
thanks very much, it works!!!
erv2a at 2007-7-9 5:41:44 > top of Java-index,Desktop,Core GUI APIs...