Hi,

An urgent help is required. I need to display colored font in command prompt during execution of a java program on Windows Machine. I am unable to do so and while I searched for online help I came across JANSI library.

Is there any other simpler and better way to print colored output in command prompt on Windows using Java ? If yes please respond as soon as possible

Thanks in advance
lrt

Short answer, No.

Unfortunately it's a b**ch to print stylized text to the terminal/command prompt in Java. If you really need it, take the time to learn some of the libraries out there.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.