title: TableColumn not populating Integer values
body: <p>I'm making a program that uses a tableview.  Everything is going smoothly, except for some reason I can't get the Integer values to populate in the table.  Below is my code in the main program, the String and Double populate when I run the program, but the Integer doesn't.  In my Product class, the sku <strong>is</strong> an int.  Not really sure what is wrong, looking for some insight!</p>
  
  <pre><code>    TableView&lt;Product&gt; tvOrderDetails = new TableView&lt;&gt;();
      ObservableList&lt;Product&gt; ol1 = listGen(invoice);
      tvOrderDetails.setItems(ol1);
  
      TableColumn&lt;Product, Integer&gt; colItemNum = new TableColumn&lt;&gt;("Item#");
      colItemNum.setCellValueFactory(new PropertyValueFactory("sku"));
      TableColumn&lt;Product, String&gt; colDesc = new TableColumn&lt;&gt;("Description");
      colDesc.setCellValueFactory(new PropertyValueFactory("name"));
      TableColumn&lt;Product, Double&gt; colPrice = new TableColumn&lt;&gt;("Price");
      colPrice.setCellValueFactory(new PropertyValueFactory("price"));
  
  
      tvOrderDetails.getColumns().setAll(colItemNum, colDesc, colPrice);
  </code></pre>
  
  <p>Basically, I create a tableview of type product.  Make an observable list out of the invoice (which is an arraylist of products), then make the columns and add them to the tableview. The Description and Price both populate just fine, but not sku (Integer).</p>
  
  <p>This is my Product Class.</p>
  
  <pre><code>public class Product {
  private String name;
  private int sku;
  private double price;
  
  public String getName() { return name; }
  public int getSKU() { return sku; }
  public double getPrice() { return price; }
  
  public void setName(String n) { name = n; }
  public void setSKU(int s) { sku = s; }
  public void setPrice(double p) { price = p; }
  
  Product(String n, int s, double p) {
      name = n;
      sku = s;
      price = p;        
  }
  
  @Override
  public String toString() {
      return "\nName: " + name + "\nSKU: " + sku + "\nPrice" + price;
  }
  
  public boolean equals(Product two) {
      if (this.name.equals(two.getName()) &amp;&amp; this.sku == two.getSKU() &amp;&amp; this.price == two.getPrice())
          return true;
      else
          return false;        
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Here is listGen()</p>
  
  <pre><code>public ObservableList&lt;Product&gt; listGen(Invoice i) {
      ObservableList&lt;Product&gt; temp = FXCollections.observableArrayList();
      for (int p = 0; p &lt; i.getArray().size(); p++)
          temp.add(i.getArray().get(p));
      return temp;
  }
  </code></pre>
  
  <p>Here is the Invoice object and adding the products.</p>
  
  <pre><code>        Invoice invoice = new Invoice(new Customer());
      invoice.add(new Product("Hammer", 30042, 7.95));
      invoice.add(new Product("Drill", 30041, 59.99));
  </code></pre>