File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes color changing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "color changing" Watch "color changing" New topic
Author

color changing

David Maddox
Greenhorn

Joined: Feb 25, 2004
Posts: 12
I am writing a program about the stock market. I was wondering if there was a way to change the output of your program in command prompt(i.e. stock goes down turns red) if so how
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

No... there are various ways to do this in a Unix shell, or on the DOS prompt, but there isn't a way to set the text color in Java's output stream.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: color changing