Originally posted by Layne Lund: There really isn't a pure Java equivalent to this. I find it rare that I need to do such a thing in much of my programming anyway. Why do you need to do this?
Simply!......just as i use to do in my C/C++ prgs....generally while working with prgs....i need the screen to be cleared which usually is cluttered with diffrent outputs....especially when i am testing my prg for diferent input values....thats why!
Joined: Dec 06, 2001
So you are saying that you need to do this for a visual clue that something new has happened? You can provide the same visual clue by inserting blank lines at appropriate places. A quick and dirty way to "clear the screen" is to just print out 60 blank lines in a row.