[SOLVED] Change text colour on conditions in netbeans
I am in the middle of a project for BMI(body mass index), depending on the BMI result it will give you 'OK', 'Underweight' or 'Overweight', I would like to use a 3 colours for the display of this information.
Green for OK
Orange for Underweight
Red for overweight
I have the basic if statements in pleace but after searching various java sites cannot find any information of how to do this, can someone either help with the code or point me in the right direction.
Thanks in advance for any help