I'm basically running a IF statement that in the condition checks if the array number[i] is equal to 18 and if so the color should be read but have had no luck with using html or setColor.
if (number[i].equals("18"))
{
number[i] =
}
What would I assign number[i] to be if the integer is 18?
Trials such as :
number[i].setColor(Color.red);
number[i] = number[i].setColor(Color.red)
number [i] = "<html> <font color=red> 18</font></html>";
Have all not worked
Should also point out 18 is stored as a string.