How can I print colored text from Java to a terminal such as the Linux console?
Location: http://www.jguru.com/faq/view.jsp?EID=312906 Created: Jan 25, 2001 Modified: 2001-07-08 21:37:29.856 Author: Nathan Meyers (http://www.jguru.com/guru/viewbio.jsp?EID=138686) Question originally posed by Borsos Szabolcs (http://www.jguru.com/guru/viewbio.jsp?EID=311226 Native applications can take advantage of the curses library to use special terminal capabilities such as color. There is no such capability in the core Java classes, but here’s a library that provides similar capabilities in Java: http://alpha2.iit.unict.it/JOS/jcurses.html.