title: How to set the colour of my 1st row in my JTable to yellow(or any colour)?
body: <p>I am able to set one column to yellow but I am unable to set a row to yellow.</p>
  
  <p>The following code does it for the column:</p>
  
  <pre><code>TableColumn col = mytable.getColumnModel().getColumn(0);
  
  col.setCellRenderer(new MyTableCellRenderer());
  </code></pre>
  
  <p>How do I do it for a row please?</p>
  
  <p>I have tried the tutorials and examples on the net but it always paints the whole table yellow rather than just one row.</p>
  
  <p>Thanks</p>