title: How to set JScrollPane Layout to be the same as JTable?
body: <pre><code>Tabel1.setModel(new DefaultTableModel(x,y));
  JScrollPane pane = new JScrollPane(Tabel1);
  </code></pre>
  
  <p>When I run the program the scrollpane appears bigger than the table.  How can I make the scrollpane layout the same as the table?</p>