开发者

What is best control in Java for simple editor

I need to implement light editor ( recognize part of key words, syntax highli开发者_JAVA百科ght and suggest all of word in dropdown list if user type part with same prefix). What is best control in Java for this task ?


You can go through the Java Tutorial - Using Text Components along with the examples page.


You could use JEditTextArea as a start point.


I recommend to reuse the editor of NetBeans or Eclipse.

http://wiki.netbeans.org/How_to_create_support_for_a_new_language

http://platform.netbeans.org/tutorials/nbm-code-completion.html

http://netbeans.org/kb/trails/platform.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜