title: Connecting JTable content to Java DB
body: <p>1- I am Using <code>NetBeans 7.4 GUI Builder</code>, and i want to have a <code>JTable</code> that has some data. the Tutorial in <code>netbeans website</code> shows how to connect an <code>existing DB table</code> to the <code>Jtable</code>, but i want to write my own query and show the results in the JTable, how to do that?</p>
  
  <p>2-when i was following the tutorial in <code>netbeans</code>, the table shows its bound to a Table in <code>Java DB</code>, but when I run the program the JTable appears empty, it has rows, but no data, is there a code i have to write to populate the data other than the steps mentioned in the tutorial? </p>
  
  <p>this is a link to the <a href="https://netbeans.org/kb/docs/java/gui-binding.html" rel="nofollow">tutorial</a></p>