How stop JTable's edit?

if focus lost when JTable is editing.cellEditor can stilldisplay.I want to let cellEditor stop when focus lost.that is,Table display cellRenderer when focus lost.How to do? please help me.thanks
[229 byte] By [blackcat2001] at [2007-9-26 4:44:58]
# 1
hi, just add a FocusListener to the table and invoke stopEditing() on the TableCellEditor within the focusLost() method.best regards, Michael
Michael_Rudolf at 2007-6-29 18:33:22 > top of Java-index,Archived Forums,Swing...