Hey Java gurus,
Is it possible to "clear" the console window when a text-based application is running?
Basically, I need to start "fresh" after a choice etc.
I could always print a couple of carriage returns just to get some empty lines, but this assumes the console window size is fixed (which is not).
Any ideas?
Thanks.
Is it possible to "clear" the console window when a text-based application is running?
Basically, I need to start "fresh" after a choice etc.
I could always print a couple of carriage returns just to get some empty lines, but this assumes the console window size is fixed (which is not).
Any ideas?
Thanks.