Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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: 11027
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
Pie
Posts: 48968
60
  • 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