The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
March 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Your Problem

Posted by Ernani on December 10, 2001 at 2:30 PM

Try to make this instead of executing any commands...

for (int i=0; i<25; i++) System.out.println();

It is better for memory performance and will clear your screen

> Hi, I would like to know if there's any command that clean the screen. Something like "cls" (the DOS command to clean the screen). If you could help me, I will apreciate. Thanks.

> Jorge Azevedo






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us