code: public void setSelectedItems(Collection elements) {
  		if (m_selectedItems!=null) {
              for (Object m_selectedItem : m_selectedItems) {
                  ((JScoreElement) m_selectedItem).setColor(null);
              }
  			m_selectedItems = null;
  		}
  		if ((elements != null) && (elements.size() > 0)) {
  			m_selectedItems = elements;
              for (Object m_selectedItem : m_selectedItems) {
                  ((JScoreElement) m_selectedItem).setColor(SELECTED_ITEM_COLOR);
              }
  		}
  	}
docs: Highlights the given elements in the score.
  If item(s) was previously selected, it is unselected.
  @param elements A collection of score element to be highlighted in the
  score. <TT>null</TT> or empty collection can be specified to remove
  highlighting.