Syntax highlight CSS in a swing app?

I've build a small swing app for editing and merging CSS files, which I have to do often. Currently I use JTextArea instances for displaying the contents of the files. Ideally, I'd like to have color syntax highlighting of the CSS. Is there an easy enough way to do that?


Who is Participating?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.