Visually show diff output in java program

I am currently developing a Java program where I need to show the difference between two texts. Is there any library available for visually showing the difference, that is, the diff output in my java program or how I can do it. Any suggestion would be very helpful for me.

+3
source share
2 answers

I would go for netbeans diff api.

From a later URL:

enter image description here

Although this is not a visual implementation, you also have a translation of gnu diff in java .

+1
source

JMeld - http://keeskuip.home.xs4all.nl/jmeld/ smartGENERATOR.

2.1 * http://sourceforge.net/projects/jmeld/

JMeld 2.1 maven http://search.maven.org/#artifactdetails|org.jmeld|jmeld|2.1|jar

<dependency>
    <groupId>org.jmeld</groupId>
    <artifactId>jmeld</artifactId>
    <version>2.1</version>
</dependency>
0

Source: https://habr.com/ru/post/1746659/


All Articles