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 ?
Asked
Active
Viewed 107 times
0
-
What criteria are you judging "best" by? – Pops Apr 12 '11 at 14:02
3 Answers
1
You can go through the Java Tutorial - Using Text Components along with the examples page.

Koekiebox
- 5,793
- 14
- 53
- 88
1
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

Puce
- 37,247
- 13
- 80
- 152