I need to implement light editor ( recognize part of key words, syntax highlight and suggest all of word in dropdown list if user type part with same prefix). What is best control in Java for this task ?
What is best control in Java for simple editor
126 Views Asked by Damir At
3
There are 3 best solutions below
0

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
You can go through the Java Tutorial - Using Text Components along with the examples page.