> How to display a text fragment in different color or in a different font
> then other part of text in JTextArea ??
>
> thanks :)
You could use a JEditorPane. JEditorPane can interpret html. So, you
could insert<font color=\"color\"> tags to format the text as you like.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
> How to display a text fragment in different color or in a different font
Crosspost, don't multipost:
http://www.cs.tut.fi/~jkorpela/usenet/xpost.html
- Oliver