How to stop editing with DefaultCellEditor when a separate JBtton is pressed

前端 未结 3 1043
谎友^
谎友^ 2020-12-21 01:23

I got a table with a custom TableCellEditor (extending DefaultCellEditor) with a JFormattedTextField as the editor component.

Now I got problem: when I press a separ

3条回答
  •  渐次进展
    2020-12-21 01:45

    Had also more issues with these things, see the question Java Swing : changing JTree selection while editingstopCellEditing() : how to get stopCellEditing() called before TreeListeners:valueChanged?

提交回复
热议问题