This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Changing Color of a selectedtext  in TextArea 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 » Servlets
Bookmark "Changing Color of a selectedtext  in TextArea" Watch "Changing Color of a selectedtext  in TextArea" New topic
Author

Changing Color of a selectedtext in TextArea

Miguel Salmer´┐Żn
Greenhorn

Joined: Aug 23, 2005
Posts: 1
i want to change the color of the selected text in the text area.
i.e if the string is hello how are you is in blue color and i select hello and change the color to red the word hello should be in red and remaining string in blue
asheet anand
Ranch Hand

Joined: Nov 15, 2000
Posts: 83
hi,
do you want a multicoloured text area,which should display all the values in black but some values in red or green?
asheet
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Changing Color of a selectedtext in TextArea
 
Similar Threads
Is there any means to check the number of objects created when a java prgram runs.
regarding the textfield
two different styles in one string ?
How to give different foreground color for the same cell in JTable?
Exception