S SnoopCat Senior member Jan 19, 2001 926 0 0 Feb 26, 2002 #1 anyone know the command to clear out the console in java? for example: System.out.println("Stuff"); now i want to remove the words on the screen and make it a blank screen.... anyone know the command? thanks
anyone know the command to clear out the console in java? for example: System.out.println("Stuff"); now i want to remove the words on the screen and make it a blank screen.... anyone know the command? thanks
her209 No Lifer Oct 11, 2000 56,336 11 0 Feb 26, 2002 #2 I don't think there is such a command. As far as I know, there is no similar command in C/C++. Must be a Pascal/Basic thing.
I don't think there is such a command. As far as I know, there is no similar command in C/C++. Must be a Pascal/Basic thing.
A Argo Lifer Apr 8, 2000 10,045 0 0 Feb 26, 2002 #3 There cannot be such a command in java. However, you can issue a shell command (if you know what os you are running) that would do that for you.
There cannot be such a command in java. However, you can issue a shell command (if you know what os you are running) that would do that for you.
JetBlack69 Diamond Member Sep 16, 2001 4,580 1 0 Feb 26, 2002 #4 The only thing I can think of is: System.out.print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"); and fill it with as many \n you need to clear the screen.
The only thing I can think of is: System.out.print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"); and fill it with as many \n you need to clear the screen.