Some question about java pogramming(clear screen)

qqjay89's Avatar, Join Date: Jan 2009
Newbie Member
i am new for java, in C++ we have the code system("cls") for clear screen, but in java which code can i use to clear the screen??
nimesh's Avatar, Join Date: Apr 2009
Invasive contributor
Try these

System.out.println("/033"); [Source]

System.out.println ((char)27 + "[2J");[Source]
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
Check this thread too :: http://www.go4expert.com/showthread.php?t=8756