Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

blinking or colored output

 
Prashant Neginahal
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

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

System.out.println("Hello");

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.

--Prashant
 
Stuart Gray
Ranch Hand
Posts: 410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 657
Clojure Spring VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may want to look at jcurses...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic