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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "change the color of the console in a java application" Watch "change the color of the console in a java application" New topic
Author

change the color of the console in a java application

Abdel Remani
Greenhorn

Joined: Oct 05, 2004
Posts: 8
Hi guys
I want to know how to chnage the windows console background and foreground(text color) in a java application I'm working on.

N.B. It's not an applet


Abdel Remani
rahul V kumar
Ranch Hand

Joined: May 20, 2003
Posts: 82
Please excuse my ignorance, do you mean the DOS command prompt ??

If its dos prompt then right click on left most corner of that window and go to properties ...from there to colors tab...n pick your color.
Abdel Remani
Greenhorn

Joined: Oct 05, 2004
Posts: 8
it is dos commad, but I want to do that using java code
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: change the color of the console in a java application
 
Similar Threads
Issue with console
Display colored output to a console/terminal with java
How to clear Sytem console
Calling C or C++ methods from Java
Java Console Application and Graphics