Hi,
Is there any way to clear ALL OF THE TEXT OF THE COMMAND CONSOLE (i.e. all the output of my class AND the output of everything outputted from other programs run before (not always Java)) which started the Java VM?
Hi,
Is there any way to clear ALL OF THE TEXT OF THE COMMAND CONSOLE (i.e. all the output of my class AND the output of everything outputted from other programs run before (not always Java)) which started the Java VM?
The process of clearing a console is going to be VERY device dependent (i.e. Windows cmd is going to be very different than a VT100 or Linux xterm. You would probably need something like Curses for Java.
Instead of writing to the console have you tried logging the info you need from your app to a separate file instead of the console?