I'm making a tiny winy java editor, call it a source code editor,
and I am usint JEditorPane for typing the text in.
Can any1 tell me how can i color a specific keyword??? & I mean it,
if i type in private or class, it should turn blue right away, but
im unable to find a way at all
if i go for anything else, just let me know, a little elaborate
answer will be appreciated