you can table_.addKeyListener();
and then you can use:
if(e.getKeyChar()==KeyEvent.VK_ENTER) {
//you can add you logical program
}
and then you can use:
if(e.getKeyChar()==KeyEvent.VK_ENTER) {
//you can add you logical program
}
按照你的要求,你因该在最后一列的editor中的KeyListener中添加增加行的代码,在其他列的editor中的editor中添加换焦点的代码.