title: Selecting JTable row without user interaction
body: <p>I want to select JTable zeroth row be selected by default </p>
  
  <p>I am using following code but it gets the zeroth to be focused, not selected</p>
  
  <pre><code>jtblProduct.setCellSelectionEnabled(true);
  jtblProduct.changeSelection(0, 0, false, false);
  jtblProduct.requestFocus();
  jtblProduct.scrollRectToVisible(new Rectangle(jtblProduct.getCellRect(0, 0, true)));
  </code></pre>
  
  <p>When I get the selected row by using the following code it returns -1, which means none selected.</p>
  
  <pre><code>jtblProduct.getSelectedRow()
  </code></pre>
  
  <p>Please provide me the way to select the zeroth row by default.</p>