public void keyReleased(KeyEvent e) {
if (e.getKeyCode() == KeyEvent.VK_DELETE) {
DataLaboratoryHelper dlh = DataLaboratoryHelper.getDefault();
Node[] selectedNodes = getNodesFromSelectedRows();
if (selectedNodes.length > 0) {
NodesManipulator del = dlh.getNodesManipulatorByName("DeleteNodes");
if (del != null) {
del.setup(selectedNodes, null);
if (del.canExecute()) {
dlh.executeManipulator(del);
}
}
}
}