/** Listen for the Delete key and when released create a fake action to reuse
* the current method to delete files from the file list. It uses the same method
* in the right click menu */
if(e.getKeyCode() == KeyEvent.VK_DELETE)
{
new DownloadFileListPopupDelRowAction("ContextMenuRemoveFromList", mainApp, table.getSelectedRows()).
actionPerformed(new ActionEvent(this,ActionEvent.ACTION_PERFORMED,null));
}
}