Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个可编辑的JTable. 如果在更新基础行模型时用户正在编辑单元格,则单元格编辑器将失去焦点。
JTable
对此最简单的解决方案是什么?
正如@mKorbel 注意到的那样,最简单的解决方案是非常理论的问题:) 是:
requestFocus()