boolean (Object selected) { Integer currentIndex = myList.getSelectedButtonIndex(); if (currentIndex == null) return false; if (--currentIndex < 0) currentIndex = null; boolean changed = myList.setSelectedButtonIndex(currentIndex); if (changed) { getContent().repaint(); } return true; }