I need some advice on creating a syntax highligher for java application us开发者_JAVA百科ing swing. The application should allow to edit a file and highlight syntax.
I don't know the swing library, what should I look for?
I use RSyntaxTextArea and it works well.
JSyntaxPane is quite active and supports a lot of languages (+ a friendly license).
You could build on JEditorPane, but it might be easier to use the jedit syntax bean.
精彩评论