File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Changing text color in TextArea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Changing text color in TextArea" Watch "Changing text color in TextArea" New topic

Changing text color in TextArea

Richard Robbins
Ranch Hand

Joined: Mar 07, 2001
Posts: 66
How does one change the font color in a text area? I have a page for which parameters can be inserted into a mesage, and I want the parameters to be a different color (and bold, even), so that they are distinguishable from the rest of the text in the textarea.
Thanks in advance for any help.
Richard Robbins

Richard Robbins is one of the founders of, a resource for free website templates and Photoshop tutorials. He also consults for an online boutique selling baptism dresses and christening gowns.
I agree. Here's the link:
subject: Changing text color in TextArea
It's not a secret anymore!