Netbeans console has no color, but has color in my other Mac. Both Mac OS are same, JDK same too. Don’t know why. The code i use to print color text are:
String ANSI_RESET = "\u001B[0m"; String ANSI_RED = "\u001B[31m"; System.out.println(ANSI_RED + "X" + ANSI_RESET);