title: Remove table separator in JTable
body: <p>I want my table to have the same line width but every 4th rows, there is a thick line between two rows. For example between row number 4 and 5. How can I remove that? Also there is a thick vertical line next to the third column. I want to remove that too.
  Thanks.</p>
  <p><a href="https://i.stack.imgur.com/CHQiZ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CHQiZ.jpg" alt="Table" /></a></p>
  <pre class="lang-java prettyprint-override"><code>JTable table = new JTable(data, AuctionRequestData.getColumnNames());
  table.setRowHeight(25);
  
  TableColumnModel columnModel = table.getColumnModel();
  columnModel.getColumn(0).setPreferredWidth(60);
  columnModel.getColumn(1).setPreferredWidth(150);
  columnModel.getColumn(2).setPreferredWidth(120);
  JScrollPane scrollPane = new JScrollPane(table);
  table.setDefaultEditor(Object.class, null);
  table.getTableHeader().setReorderingAllowed(false);
  
  if (data.length &lt;= 13) {
      scrollPane.setPreferredSize(new Dimension(scrollPane.getPreferredSize().width, data.length*25+23));
  } else {
      scrollPane.setPreferredSize(new Dimension(scrollPane.getPreferredSize().width, 348));
  }
  </code></pre>