R
Rogan Dawes
Hi folks,
I'm looking for a Swing Component that can display differences between
two files/streams/char arrays side by side, preferably with colour
highlighting.
Remarkably, it seems that such a thing is hard to come by, along with
Java implementations of various diff algorithms.
Any ideas?
For reference purposes, I have looked at implementing the Levenshtein
distance algorithm, as well as investigated ports of the GNU diff algo
to Java. These are both options, of course.
However, I guess that the diff algorithm would probably be dictated by
the diff viewer Component, so I'm not going too far in that direction yet.
License should preferably be GPL compatible, if at all possible.
Thanks for any suggestions.
Rogan.
P.S. The most obvious search result (JDiff) provides reports on the
differences between versions of the Java API :-( Not quite what I was
looking for.
I'm looking for a Swing Component that can display differences between
two files/streams/char arrays side by side, preferably with colour
highlighting.
Remarkably, it seems that such a thing is hard to come by, along with
Java implementations of various diff algorithms.
Any ideas?
For reference purposes, I have looked at implementing the Levenshtein
distance algorithm, as well as investigated ports of the GNU diff algo
to Java. These are both options, of course.
However, I guess that the diff algorithm would probably be dictated by
the diff viewer Component, so I'm not going too far in that direction yet.
License should preferably be GPL compatible, if at all possible.
Thanks for any suggestions.
Rogan.
P.S. The most obvious search result (JDiff) provides reports on the
differences between versions of the Java API :-( Not quite what I was
looking for.