/**
* Installs default keys bound to actions.
*/
private void installDefaultKeyboardActions() {
InputMap inputMap = getInputMap(WHEN_FOCUSED);
inputMap.clear();
inputMap.put(KeyStroke.getKeyStroke("DELETE"), ActionType.DELETE_SELECTION);
inputMap.put(KeyStroke.getKeyStroke("BACK_SPACE"), ActionType.DELETE_SELECTION);
inputMap.put(KeyStroke.getKeyStroke("ESCAPE"), ActionType.ESCAPE);
inputMap.put(KeyStroke.getKeyStroke("LEFT"), ActionType.MOVE_SELECTION_LEFT);
inputMap.put(KeyStroke.getKeyStroke("shift LEFT"), ActionType.MOVE_SELECTION_FAST_LEFT);