Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display colored output to a console/terminal with java

 
Julien Castelain
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I wanted to know if it's possible to output colored messages in a console with Java?
Or if there's a library for this

I'd like to display "Foobar" in green for example

Thanks in advance
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Google for "java console color text"
 
Campbell Ritchie
Sheriff
Posts: 48417
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There was a post about that a few weeks ago. Here. Well, maybe 16 months ago
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic