Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

JEditor Pane , color specific text

  Asked By: John    Date: Jun 12    Category: Java    Views: 588
  

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

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on JEditor Pane , color specific text Or get search suggestion and latest updates.




Tagged: