开发者

swing syntax highlighter

开发者 https://www.devze.com 2023-01-01 18:26 出处:网络
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 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.

0

精彩评论

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