Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing colors in Command Prompt

 
David Maddox
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writing a stock sim for a class project and i was wondering if there was a way to change colors of the text when you run it in command prompt(i.e. when a stock goes down turn red)
 
fred rosenberger
lowercase baba
Bartender
Posts: 12127
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there is (at least on XP) a color command. you could probably call it to change the colors. don't know a pure java way off the top of my head.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic