File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Changing Color of a selectedtext in TextArea
Joined: Aug 23, 2005
Apr 01, 2001 08:41:00
i want to change the color of the selected text in the text area.
i.e if the
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
Joined: Nov 15, 2000
Apr 01, 2001 22:11:00
do you want a multicoloured text area,which should display all the values in black but some values in red or green?
I agree. Here's the link:
subject: Changing Color of a selectedtext in TextArea
How to give different foreground color for the same cell in JTable?
regarding the textfield
two different styles in one string ?
Is there any means to check the number of objects created when a java prgram runs.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014