The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Coloring indivisual chars in a string

Posted by Isam on September 28, 2000 at 5:01 AM

Hi,

Can anybody please help me solve the following problem?

How can I set the color indivisualy for each char in a string?
For example, if I had the following code

String[] arraystr = new String[]
{
"Hello",
"My",
"Name",
"Is",
"Kuku"
};

How can I set the color of the first char in each string to RED or BLUE?
Thanx



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us