getInputMap().put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ESCAPE, 0), "escape"); getActionMap().put("escape", escapeAction);
	protected void setKeyboardActions() {		Action deleteAction = new AbstractAction() {			public void actionPerformed(ActionEvent evt) {				MatrixTreeNode[] nodes = getSelectionNodes();				if (nodes == null) {					return;				}				DeleteDialog deleteDialog = DeleteDialog.getDeleteDialog(nodes);				GUIUtilities.showInScreenCenter(deleteDialog);			}		};		Action searchAction = new AbstractAction() {			public void actionPerformed(ActionEvent evt) {				SearchDialog searchDialog = SearchDialog.getSearchDialog();				GUIUtilities.showInScreenCenter(searchDialog);			}		};		Action openSelectionAction = new AbstractAction() {			public void actionPerformed(ActionEvent evt) {				SelectionDialog selectionDialog = SelectionDialog.getSelectionDialog();				GUIUtilities.showInScreenCenter(selectionDialog);			}		};		Action createSelectionAction = new AbstractAction() {			public void actionPerformed(ActionEvent evt) {				createSelection();			}		};		Action escapeAction = new AbstractAction() {			public void actionPerformed(ActionEvent evt) {				if (inCueMode)					stopCueMode();			}		};		getInputMap().put(KeyStroke.getKeyStroke("DELETE"), "delete");		getActionMap().put("delete", deleteAction);		getInputMap().put(KeyStroke.getKeyStroke("control F"), "search");		getActionMap().put("search", searchAction);		getInputMap().put(KeyStroke.getKeyStroke("control S"), "open selection");		getActionMap().put("open selection", openSelectionAction);		getInputMap().put(KeyStroke.getKeyStroke("control C"), "create selection");		getActionMap().put("create selection", createSelectionAction);		getInputMap().put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ESCAPE, 0), "escape");		getActionMap().put("escape", escapeAction);	}