title: How to move unselected items from a List to another? JList
body: <p>I'm trying to move only the unselected items from a List into another List. Also I would like to validate if the items are already on the next list before moving them.</p>
  
  <p>This is what I have so far</p>
  
  <pre><code> int sel[] = lstNum1.getSelectedIndices();
  
      for (int i = 0; i &lt; model1.getSize(); i++) {
          if(!model1.getElementAt(i).equals(model1.getElementAt(sel[i]).toString())){
              model2.addElement(model1.getElementAt(i).toString());
          }
      }
  </code></pre>
  
  <p>I'm trying to compare the item at position "i" with the item at the selectedArray, but no luck.</p>