Java – swing text editor, color and highlight

I am writing an application that users need to write a JavaScript script as input. Now I have a simple jtextarea, but I want to change it with something that can make some highlights and code coloring to make the script more coherent

Do you know anything about open source?

thank you

Solution

RSyntaxTextArea

Screenshot:

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>