title: how to add a java ArrayList of objects (each object conatains{int,String,float,float}) to a JTable using TableModel
body: <p>I have an <code>ArrayList</code> of <code>OrderEntry</code> objects. Each object have:</p>
  
  <pre><code>public class OrderEntry
  {
      private int quantity;
      private String itemName;
      private float rate;
      private float value;
  }
  </code></pre>
  
  <p>Thing is, I have a <code>JButton</code>, when I click this button, I want this each object's value in a row with 4 columns.</p>
  
  <p>I'm new to Swing and <code>JTable/TableModel</code>, can anybody help me out with an example?</p>