I am writing java program in eclipse, the program check condition and prints appropriate message as output. All i want to do is print output message in black color when condition is true and print message in red color when condition is false.
Is it possible to do so?