开发者

Java text highliting

I did a code in java for file comparison. This compares two file contents and give开发者_开发问答s a result like : modified line and deleted lines and blank lines. I want them to highlight with different color. (Same as a file compare software does).

Thanks in advance.

Nitin


Use a JTextPane it supports attributed text which means you can change font, colour, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜