code: public void select(ArrayList selection) {
  		list.clearSelection();
  		int[] selected = new int[selection.size()];
  		for (int i=0;i<selection.size();i++) {
  			selected[i] = sprites.indexOf(selection.get(i));
  		}
  		list.setSelectedIndices(selected);
  		
  		sheetPanel.setSelection(selection);
  	}
docs: Select a series of sprites
  
  @param selection The series of sprites to be selected (Sprite objects)