title: How to set multiple items as selected in JList using setSelectedValue?
body: <p>I have a jList that is populated dynamically by adding to the underlying listModel. Now if I have three Strings whose value I know and I do</p>
  
  <pre><code>for(i=0;i&lt;3;i++){
      jList.setSelectedValue(obj[i],true);//true is for shouldScroll or not
  }
  </code></pre>
  
  <p>only the last item appears to be selected...If this can't be done and I have to set the selection from the underlying model how should I go about it???</p>
  
  <p>Also please note the jList has selection mode:</p>
  
  <pre><code>  jList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
  </code></pre>
  
  <p>Thanks in Advance</p>