Results 1 to 3 of 3
- 11-08-2011, 12:08 AM #1
Member
- Join Date
- Nov 2011
- Posts
- 1
- Rep Power
- 0
Coloured output in command prompt on windows using java
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 better way to print colored output in command prompt on Windows OS using Java ? If yes please respond as soon as possible
Thanks in advance
lrt
-
Re: Coloured output in command prompt on windows using java
There are other libraries out there that allow this sort of thing, but their names escape me, but if you really want to have full control of the display of your output, why not just create a Swing GUI program?
On a side note, please go easy on the "urgent help is required ..." bit. We're all volunteers here and we consider all questions here equally important. My experience here has been that over-use of "urgent" and "as soon as possible" sometimes has the opposite effect intended, and that these types of questions can be slower to get response than other calmer questions. This is your "urgency" not ours, so please do us a favor and try not to make it ours.
-
Re: Coloured output in command prompt on windows using java
Also interesting last answer in this StackOverflow thread here: stackoverflow.com: how-to-color-system-out-println-output if you're not afraid to experiment with the JNA library a bit. You will have to download thislibrary first though for this work.
Similar Threads
-
cant use Command Prompt to run Java App (with screenshot)
By LongTTH in forum New To JavaReplies: 3Last Post: 05-03-2011, 03:24 AM -
how to make command prompt in java
By udinulis in forum Java 2DReplies: 4Last Post: 07-14-2010, 06:52 AM -
Command Prompt Java
By kelvinsmj in forum New To JavaReplies: 8Last Post: 11-27-2009, 10:30 AM -
how to run windows command prompt in java parogram ?
By indikasampath2000 in forum AWT / SwingReplies: 4Last Post: 12-16-2008, 06:51 AM -
Is there any way to run java file through command prompt of .jar
By sachin.parnami in forum New To JavaReplies: 2Last Post: 12-03-2008, 01:24 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks