title: Is there a way to set every other line in a java text area to a different color?
body: <p>I want to set every other line in a java text area to a second color, is there a way to do this?</p>
  
  <p>example:</p>
  
  <pre><code>&lt;red&gt;1&lt;/red&gt;    
  &lt;blue&gt;2&lt;/blue&gt;
  &lt;red&gt;3&lt;/red&gt;    
  &lt;blue&gt;4&lt;/blue&gt;
  </code></pre>
  
  <p>the red and blue tags are just for example only.</p>