Bè, nel frattempo ho trovato una soluzione artigianale.
Inserire nel metodo tabella()
C'è di meglio?codice:TableListino.addKeyListener(new KeyAdapter() { @Override public void keyPressed(KeyEvent e) { int col3 = TableListino.getSelectedColumn(); int row3= TableListino.getSelectedRow(); int keyCode = e.getKeyCode(); if(keyCode!=40){ if(keyCode!=38){ if(keyCode!=39){ if(keyCode!=37){ if(keyCode!=10){ TableListino.setValueAt("", row3, col3); }}}}} } });
Grazie.

Rispondi quotando