title: How to retrieve non-selected rows from a Jtable and store in an ArrayList in Java?
body: <p>I have randomly displayed data to JTable from a mysql database.
  Below is the query used for generating random records of size 10</p>
  
  <pre><code>select *from tableName order by rand() limit 0,10;
  </code></pre>
  
  <p>I am able to display records in a JTable. However, I want to retrieve <strong>non-selected</strong> as well as <strong>selected</strong> rows from a Jtable and store in two separate  ArrayList(or any collection). </p>