title: removing jtable grid (cell border) completely
body: <p>How can I remove the border around the cells in a swing JTable completely, so the cells have no gaps between them?
  Here is what I have tried:</p>
  
  <pre><code>table.setShowGrid(false);
  table.setShowVerticalLines(false);
  table.setShowHorizontalLines(false);
  </code></pre>
  
  <p>and writing a cell renderer and using:</p>
  
  <pre><code>setBorder(BorderFactory.createEmptyBorder(0,0,0,0));
  </code></pre>
  
  <p>for each individual cell.</p>
  
  <p>But the result is the lines between the cells are removed but a 1 pixel gap is left between them. </p>