• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

quick java help.

rayma2

Senior member
Looking for a method of some sort to clear a dos window of text. I can seem to find it.

thanks for any help possible.
 
The only thing I have found to do that is to use the cls dos command to clear the window.
 
I found out that since JAVA is so platform independent it is super complex to do.. Good think it was not a requirement for the program.
 
Have a look at this Q article on clearing a console buffer using the win32 api.

Doing this in Java isn't too difficult, as you can simply load the library (kernel32.dll) for the respective win32 api functions using JNI.
 
Back
Top