PDA

View Full Version : Clear Screen For Java?



erRor67
05-06-2004, 12:58 AM
Um, I wasnt sure where to put this topic, this area seemed the best since its kinda software realted but anyway,

Does any one know the code for clearing the MSDos screen in Java? Cause, Im trying to write a program at runs in the MSDos screen but I have no clue how to clear the freaken screen&#33; I know in C++ the command is clrscrn() or something like that and for batch files its cls. But what about Java? I know one could just do System.out.println() for like 60 times but that only moves the txt up, it doesnt really clear the screen. Any ideas on clearing the screen in Java??? :blink: :( <_<

supersonic
05-06-2004, 02:43 AM
clear ();
it&#39;s not complete, since we use Java ready.