boolean (int n) { int current = focusedList.getSelectedIndex(); setPopupFocused(true); if (n >= 0) { focusedList.setSelectedIndex(n); focusedList.ensureIndexIsVisible(n); } return current != focusedList.getSelectedIndex(); }