About 93,000 results
Open links in new tab
  1. How to clear the console using Java? - Stack Overflow

    Can any body please tell me what code is used for clear the screen in Java? For example, in C++: system("CLS"); What code is used in Java to clear the screen?

  2. How to Clear Console in Java? - Stack Overflow

    Runtime.getruntime.exec("cls/clear"); However, nothing seems to be working for me. Isn't there really any a way of clearing the console in Java like in C (clrscr();). Isn't there any external …

  3. How to clear console in Java - Eclipse - Stack Overflow

    May 18, 2016 · Eclipse's Console is a view that renders that stream and has richer capabilities (including the ability to clear its visible buffer of the stream's content) but the only way to …

  4. eclipse - Clear the console in Java - Stack Overflow

    I have a class extending the Thread class. In its run method there is a System.out.println statement. Before this print statement is executed I want to clear the console. How can I do …

  5. java - How to delete stuff printed to console by System.out.println ...

    In a Java application I'm using some calls to System.out.println(). Now I want to find a way to programmatically delete this stuff. I couldn't find any solution with google, so are there any hints?

  6. java - Ways to Clear the Console? - Stack Overflow

    It gave me errors that all the methods that he called from Console did not exist. java.io.*; was imported His method clears one line specifically, so if someone could get this working, (Again, …

  7. commands in java to clear the screen - Stack Overflow

    Feb 3, 2011 · What command in Java will let you clear the console in a command-line application?

  8. Clear The Console Programmatically In Java - Stack Overflow

    I created a sample Java application. I want to clear the window options, i.e.: Register Login Clear If the user presses 3 I need to programmatically clear all options. Something like …

  9. Clear console screen in Java - Stack Overflow

    Apr 25, 2023 · Is there any option to clear the console screen in Java as clrscr() in C?

  10. How to clear the console in java program? - Stack Overflow

    Mar 12, 2019 · 1 Having tried multiple IDE's, the console isn't meant to be 'cleared' according to Java, whereas in C# or C++ yes you can clear the console because of the way that C# …