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?