Hi, in C++, there is a command you can use to clear the command prompt screen. The command is used like so:
system("cls");
Is there such a command in java? If so, what is it?
Clear command prompt screen (WinXP)
Page 1 of 12 Replies - 14329 Views - Last Post: 22 January 2007 - 03:05 PM
Replies To: Clear command prompt screen (WinXP)
#2
Re: Clear command prompt screen (WinXP)
Posted 22 January 2007 - 01:14 PM
the short answer is, you can't. There are ways of doing it that are platform dependant, but depending on whether it uses command.com or other there is no guarentee it will work. The only thing i can suggest is a loop of println(), as lame as that is.
#3
Re: Clear command prompt screen (WinXP)
Posted 22 January 2007 - 03:05 PM
Page 1 of 1

New Topic/Question
Reply


MultiQuote





|