Suraj Air
Suraj Air

Reputation: 2113

syntax highlighting in JEditorPane

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. &l tHTML &gt

Upvotes: 3

Views: 3677

Answers (2)

andyroberts
andyroberts

Reputation: 3518

I've had a lot of success using the excellent RSyntaxTextArea component. It's available under the LGPL license too.

Upvotes: 5

Riduidel
Riduidel

Reputation: 22300

You can either go

Upvotes: 2

Related Questions