05.0 Java Notes‎ > ‎

Java: Clear BlueJ's Terminal Screen

   /**
     * How To Clear Screen
     * from the blueJ.org tips page
     * 
     * This method will clear the BlueJ terminal window, but may not work
     * in other IDE terminal windows -- avoid except to test in BlueJ
     */
   private void clearScreen()
   {
      System.out.print('\u000C');
   }
Comments