JTextArea JLabel compare two txt. files line by line
问题 everybody. I have completed my code two txt files by showing on the same area. but I want to compare two txt files line by line. and I want to show the differences with Colored lines and finally, The letter or words that are different, different line I'm going to bold. how can i start? thanks for now, my code is here. 回答1: JTextArea might make a suitable view, but you still need to model the differences. I'd look at the Eclipse or NetBeans platforms, or perhaps svnview. 回答2: You might need to