0

我用一个使用数字微调器的自定义 TableCellEditor 创建了一个 JTable。我的问题是您通过按 enter 提交单元格更改(其中包括单击表中的其他位置),但按 enter 也会运行应用程序。编辑 JTable 单元格时如何防止 enter 运行应用程序?

4

0 回答 0