Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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
 
 
subject: change the color of the console in a java application
 
Similar Threads
Display colored output to a console/terminal with java
Issue with console
How to clear Sytem console
Calling C or C++ methods from Java
Java Console Application and Graphics