public boolean showNextNotification(){
  int i=getSelectedIndex();
  if (i != -1 && i < getNotficationCount() - 1) {
    model.setSelectedItem(model.getElementAt(i + 1));
    return true;
  }
  return false;
}

public boolean showNextNotification ( ) { int i = getSelectedIndex ( ) ; if ( i != - 1 && i < getNotficationCount ( ) - 1 ) { model . setSelectedItem ( model . getElementAt ( i + 1 ) ) ; return true ; } return false ; }
scrolls to the next notification .
