title: Java simple String diff util
body: <p>I'm looking for a simple java lib/src to highlight differences between two Strings, case-sensitive. A html output would be great, but I would be happy to get the indexes of the diffs, something like:</p>
  
  <pre><code>diff("abcd","aacd") 
  &gt; [2,2]
  diff("maniac", "brainiac")
  &gt; ["man",brain"] or [0,3] or something like that
  </code></pre>
  
  <p>The idea is to higlight typos or such in a swing program, since the input shold follow strict conventions.</p>