Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visually show diff output in a 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 can I do so ?

like image 555
Muhammad Asaduzzaman Avatar asked Jan 27 '26 15:01

Muhammad Asaduzzaman


1 Answers

I would go for netbeans diff api.

  • How to use the diff api in netbeans and,
  • NetBeans Diff API

From the later url:

enter image description here

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

like image 74
aioobe Avatar answered Jan 29 '26 05:01

aioobe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!