[4544] in java-interest

home help back first fref pref prev next nref lref last post

Re: Colors in TextArea

daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Fri Jan 5 15:11:44 1996

Date: Fri, 5 Jan 1996 10:25:52 -0800
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
To: nkwok@infonorth.com
Cc: java-interest@java.Eng.Sun.COM


Hi,

> Is it possibe to display differ colors in TextArea?
> 
> I used the setForeground( Color ) before appendText( String ), but it changes
> the whole TextArea instead of the new text that I want to append.  Can it be
> done?

I'm afraid not. You would have to implement your own text object to do that.

Have fun,

	Arthur van Hoff
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post