Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Murach's Java Servlets and JSP this week in the Servlets 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: 2152
    
    7
You need to use a JTextPane.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to append the string with color in jtextarea?
 
Similar Threads
JTextArea realtime update
How to display a method results on a JTextArea field?
Using JScrollPane
How to copy from 4 JTextFields to 1 JTextArea
displaying multiple lines of text in JTextArea