| View previous topic :: View next topic |
| Author |
Message |
Daniel Moyne Guest
|
Posted: Tue Dec 19, 2006 7:10 am Post subject: [println]can we use color in java console |
|
|
When using println("comment..."); to write in java console is it possible to
at least use red color when desired ? ; if yes how to proceed ?
Thanks. |
|
| Back to top |
|
 |
Knute Johnson Guest
|
Posted: Tue Dec 19, 2006 8:11 am Post subject: Re: [println]can we use color in java console |
|
|
Daniel Moyne wrote:
| Quote: | When using println("comment..."); to write in java console is it possible to
at least use red color when desired ? ; if yes how to proceed ?
Thanks.
|
ANSI terminal driver. I don't know if those still work on XP or linux.
--
Knute Johnson
email s/nospam/knute/ |
|
| Back to top |
|
 |
Real Gagnon Guest
|
Posted: Tue Dec 19, 2006 8:11 am Post subject: Re: [println]can we use color in java console |
|
|
Daniel Moyne <dmoyne (AT) tiscali (DOT) fr> wrote in
news:em7e59$gcr$1 (AT) news (DOT) tiscali.fr:
| Quote: | When using println("comment..."); to write in java console is it
possible to at least use red color when desired ? ; if yes how to
proceed ? Thanks.
|
JNI (Windows) : http://www.rgagnon.com/javadetails/java-0469.html
Bye.
--
Real Gagnon from Quebec, Canada
* Looking for Java or PB code examples ? Visit Real's How-to
* http://www.rgagnon.com/howto.html |
|
| Back to top |
|
 |
|