File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 2169
    
    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?