title: How to use Delete button on the keyboard as shortcut for delete rows from JTable
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/13236206/how-to-make-delete-button-to-delete-rows-in-jtable">How to make delete button to delete rows in JTable?</a>  </p>
  </blockquote>
  
  
  
  <blockquote>
    <p>Exact Duplicate to <a href="https://stackoverflow.com/questions/13236206/how-to-make-delete-button-to-delete-rows-in-jtable">How to make delete button to delete rows in JTable?</a></p>
  </blockquote>
  
  <p>I want to use Delete button on the keyboard to delete rows from JTable. I have delete button on my GUI and only want shortcut. Also I made the keystroke but the problem is that when I select some row to delete in fact by default in the table delete button is used to enter in the current cell. I want to disable this shortcut and make delete button to delete the selected rows.</p>