i want to do tag hightlighting in jeditorpane. if i load a html file in jeditorpane then it should automatically highlight all tags with red foreground color... for ex. &开发者_开发百科amp;l tHTML >
I've had a lot of success using the excellent RSyntaxTextArea component. It's available under the LGPL license too.
You can either go
- The JEdit way
- Check some google code project
- Or go see what Kiril thinks about it.
精彩评论