SET_NOTIFY_ACTION); am.put(SET_NOTIFY_ACTION, notifyAction); im.put(KeyStroke.getKeyStroke(KeyEvent.VK_O, Event.CTRL_MASK),
  private void initKeyMap(ConsoleTextPane pane) {    InputMap im = pane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);    ActionMap am = pane.getActionMap();    im.put(KeyStroke.getKeyStroke(KeyEvent.VK_F, Event.CTRL_MASK),            FIND_ACTION);    am.put(FIND_ACTION, findAction);    im.put(KeyStroke.getKeyStroke(KeyEvent.VK_G, Event.CTRL_MASK),            FIND_NEXT_ACTION);    am.put(FIND_NEXT_ACTION, findNextAction);    im.put(KeyStroke.getKeyStroke(KeyEvent.VK_N, Event.CTRL_MASK),            SET_NOTIFY_ACTION);    am.put(SET_NOTIFY_ACTION, notifyAction);    im.put(KeyStroke.getKeyStroke(KeyEvent.VK_O, Event.CTRL_MASK),            NOTIFY_NEXT_ACTION);    am.put(NOTIFY_NEXT_ACTION, notifyNextAction);  }