File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes blinking or colored output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "blinking or colored output" Watch "blinking or colored output" New topic

blinking or colored output

Prashant Neginahal
Ranch Hand

Joined: Sep 14, 2002
Posts: 77

I dont know whether this is right group for this question.


This will print on the console. I want this display either to be colored or blinking. Is there any way in java(API) to do this?

Thank you very much.


Thanks, <br />Prashant<br />SCJP, SCBCD
Stuart Gray
Ranch Hand

Joined: Apr 21, 2005
Posts: 410
AKAIK, no way in the API.

There are surely some escape codes you could try, or maybe find a Java binding for the 'ncurses' library? That must be able to do what you want.
Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

You may want to look at jcurses...
I agree. Here's the link:
subject: blinking or colored output
jQuery in Action, 3rd edition