title: add arraylist data to JTable
body: <p>i hav a ArreayList which is contain PRIvariable(name of the class) class data. Below shows my part of the java code. So now i want to put this Arraylist data to Jtable.  how can i do that. Here i already added <code>pri.dateText , pri.sum , pri.count</code> to <code>ar(arraylist)</code></p>
  
  <pre><code>PRIvariable pri=new PRIvariable();
     while (reader.ready()) {
               String line = reader.readLine();
               String[] values = line.split(",");
               if(values[2].equals(pri.incDate)){
                   if(values[4].equals("KI")){
               pri.dateText=values[2]+"    "+values[4];
               pri.count=pri.count+1;
               pri.sum = pri.sum+Integer.parseInt(values[7]);
           }
               }
           }
       System.out.println(pri.dateText+"  "+pri.sum+" "+pri.count);
       ar.add(pri);
  </code></pre>