private @NotNull Iterable<KeyStroke> getKeyStrokes() {
    ArrayList<KeyStroke> list = new ArrayList<>();
    addKeyStrokes(list, getFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS));
    addKeyStrokes(list, getFocusTraversalKeys(KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS));
    addKeyStrokes(list, getFocusTraversalKeys(KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS));
    addKeyStrokes(list, getFocusTraversalKeys(KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS));

    list.add(0, KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0));
    list.add(1, KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0));
    return list;
  }
private @NotNull Iterable<KeyStroke> getKeyStrokes()