I have a question when I send something to the concile window to be printed out like forexample if i say System.out.println("Hello") when I run this once Hello appears if I run it again Hello appears with the previous Hello so it looks like this
Hello
Hello
Is there a way I can clear the concile output window so no matter how many times I run this without killing the program Hello will show once is there some kind of code to clear the concile window before printing Hello to the screen?


Reply With Quote
You could go to the dos properties and get the inital line size of the screen then just loop that number of times calling System.out.println(); to push the screen output off the screen.
