Some question about java pogramming(clear screen)

qqjay89's Avatar
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 ::