Java

Associate
Joined
26 Jan 2006
Posts
1,502
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.
 
Back
Top Bottom