Change color of java console output

后端 未结 4 1765
无人及你
无人及你 2020-12-30 12:14

I was wondering if there is someway for me to set the color of the text that I output to the console in Java. It does not matter if it is system specific as the program will

4条回答
  •  感动是毒
    2020-12-30 12:27

    You can take a look at the Java Curses Library: http://sourceforge.net/projects/javacurses/

    Here's an entry on how to use it: http://www.javaworld.com/javaworld/javaqa/2002-12/02-qa-1220-console.html

提交回复
热议问题