I have a console program written by java 1.6. I want to clear the screen anddisplay new data.what is the command in java to clear console screen output?
Below link could answer your queryhttp://www.daniweb.com/forums/thread107750.html
Screen clearing is OS and Hardware dependent depending on the platform call the native API function that is able to clear the screen. lookup Runtime.getRuntime().exec that sould be able to execute a command com command