As for all JComponent classes, you can use InputMap and ActionMap to associate an Action object with a KeyStroke and execute the action under specified conditions. There are two methods for you to use:
ActionMap am = [JTable].getActionMap();// remove the enter key;[JTable].setActionMap(am);