title: How do you remove an item from a JList while removing an Item from an ArrayList?
body: <p>I have an <code>ArrayList</code> of <code>Objects</code> called <code>slist</code> filed with </p>
  
  <pre><code>Store sitem1 = new Store("Movie", 20.00, 500, 0, 0.00);
  </code></pre>
  
  <p>(More than just one <code>sitem</code> though. I have the <code>sitem</code> <code>toString</code> being printed to a JList</p>
  
  <pre><code> for (int i = 0; i &lt; customer.slist.size(); i++) {
          dlm.addElement(customer.slist.get(i).toString());//slist is an array of objects.
      }
      checkOutList.setModel(dlm);
  </code></pre>
  
  <p>When the user removes something from the <code>Jlist</code> I need the corresponding <code>slist</code> Item to be removed as well. I have no clue how to do it though.</p>