This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 67
is there any ways to append the string with color in jtextarea?
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2372
    
    8
You need to use a JTextPane.
 
Have you checked out Aspose?
 
subject: how to append the string with color in jtextarea?
 
It's not a secret anymore!