Hi all
I have had a scan in this area and in tutorials so apologies if this has been answered
I would like to get "invalid entry return to main menu." in red when the program is running
and also how can I crate a Background colour.
Many thanks
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Hi all
I have had a scan in this area and in tutorials so apologies if this has been answered
I would like to get "invalid entry return to main menu." in red when the program is running
and also how can I crate a Background colour.
Many thanks
Is this a GUI? and what is "Invalid entry return to main menu"?
Chris
no not a gui just a runnin program with menu and the invalid entry return to menu is the words i would like to get in red just to make them stand out better against the standard menu I have in black.
From the console, you can print out to the System.err stream, but be warned that if you're capturing the output of this program, it won't capture anything printed out to the err stream (I know that Eclipse will print it out as red, not sure if running it from an actual console will).
Simple answer, no you cannot do it.
Unless you go to JNI
Chris
JNI is the solution to everyones problems
// Json
Agrees with JSon....which sugests C++ or C is the solution and Java is a waste of time rofl
It doesn't necessarily have to be C++/C that you can link in with JNI. There's Ruby, Perl, Lisp, Pascal, COBOL, ... Granted, a lot of these languages aren't very good
You deserve to be shot for suggesting those.