This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes How do I change font color in text area Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic

How do I change font color in text area

Sushmit Dutt

Joined: Nov 03, 2003
Posts: 1
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), so that they are distinguishable from the rest of the text in the textarea.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60785

Sorry, no can do.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mathews P Srampikal
Ranch Hand

Joined: Nov 26, 2002
Posts: 211

This is what exactly needed. Please guide us.


Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
Are you both working together? Than why did ypu both ask same question. As the other post said, it is IMPOSSIBLE to do with a textarea.

You need to use a WYSIWYG editor. CKEditor is one choice, YUI Editor is another.

Don't get me started about those stupid light bulbs.
subject: How do I change font color in text area
Similar Threads
Changing Color of a selectedtext in TextArea
Font in JTextComponent
Changing text color in TextArea
Change Text area's Limited Text Color
How to set the fontcolor and size for the selected text of text area ?