Some question about java pogramming(clear screen)

Newbie Member
21Sep2009,20:52   #1
qqjay89's Avatar
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??
Invasive contributor
22Sep2009,02:44   #2
nimesh's Avatar
Try these

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

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