aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to append the string with color in jtextarea? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to append the string with color in jtextarea?" Watch "how to append the string with color in jtextarea?" New topic
Author

how to append the string with color in jtextarea?

kahkean chor
Ranch Hand

Joined: Jan 26, 2013
Posts: 56
is there any ways to append the string with color in jtextarea?
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2203
    
    7
You need to use a JTextPane.
 
 
subject: how to append the string with color in jtextarea?