0
How to clear console using java program
2 Answers
+ 3
One way is to write:
Runtime.getRuntime().exec("PlatformDepedentCode");
and substitute whatever command clears the console in your environment. E.g., if your shell is Bash, sub "clear" for "PlatformDepedentCode".
+ 1
ctrl + l