This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design 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
Pie
Posts: 12098
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