void (KeyEvent e) { if (e.getKeyCode() == KeyEvent.VK_DELETE) { removeSelectedItems(); } else if (e.getModifiersEx() == 0 && !mySpeedSearch.isHoldingFilter()) { myDelegate.handleMnemonic(e, myProject, myPopup); } }