title: Comparing the contents of two files, displaying differences
body: <p>I'm looking to compare two files similarly to how you can compare a version of code in source for example to an updated version. I'm still a bit of a slow coder :-S. My problem here is really designing it right, so please step in and tell me how it would work best and hopefully wouldn't be too complex. </p>
  
  <p>So for this my current plan basically is to load in both files into separate text boxes(?). Stream read through both of them separately into two arraylists and compare the arrayslists against each other. And have some additional checks for file size etc.</p>
  
  <p>How could I cycle through the textbox of the one I'm comparing to and highlight for example in red where there are differences? I have no idea how i'd do that?</p>
  
  <p>High level guess, would I read the differences in the two arrays (say element 11) and highlight that data place/element of the textbox?</p>