Type ENTER key is not capture
问题 In my application I have a JTable where I mapped a Key event. The source: getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "selectNextColumnCell"); getActionMap().put("selectNextColumnCell", new AbstractAction() { @Override public void actionPerformed(ActionEvent e) { //DO SOMETHING } }); } But this action is only called when I press the enter key and don't release it. But I need call this action every time when the user type the