title: Java JTable disable single cell selection border highlight
body: <p>I have a JTable with three columns in each row, see the image:</p>
  
  <p><img src="https://i.stack.imgur.com/JSTOS.png" alt="enter image description here"></p>
  
  <p>For some reason depending on the column i select i get the little dark blue border around it (V140116554) in the image above.</p>
  
  <p>I currently use this to select the entire row:</p>
  
  <pre><code>vTable.setRowSelectionAllowed(true);
  </code></pre>
  
  <p>How can i disable this?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Added a class:</p>
  
  <pre><code>public class VisitorRenderer extends DefaultTableCellRenderer {
      @Override
      public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
          super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); 
          setBorder(noFocusBorder);
          return this;
      }
  } 
  </code></pre>
  
  <p>And added it:</p>
  
  <pre><code>vTable.setDefaultRenderer(String.class, new VisitorRenderer());
  </code></pre>
  
  <p>But still get the border </p>