boolean (boolean jumpRequired) { if (jumpRequired || !select(focusedList.getSelectedIndex() - 1)) { if (!canSwitchToHistory()) { return false; } focusHistory(); select(historyModel.getSize() - 1); } return true; }