File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes How to clear screen ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to clear screen ??" Watch "How to clear screen ??" New topic
Author

How to clear screen ??

chris liao
Greenhorn

Joined: Jul 24, 2005
Posts: 27
I want to clear screen,when run my application.
my application run in unix and winNT.
but i don't how to do,please help me !
vidhyasagar reddy
Ranch Hand

Joined: Jul 05, 2005
Posts: 40
just rad about the java runtime class may be you will get answer
chris liao
Greenhorn

Joined: Jul 24, 2005
Posts: 27
would you give me a sample about it ?? thanks!
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
Clearing the console is platform dependent. I don't of any method in the Java API that will do this directly. It looks like a Google search turns up some possibilities, but I don't know if any of them are guaranteed to be paltform-independent. In particular, the following links look somewhat promising:

http://www.sotmesc.org/gcms/progbb/messages/10409.html
http://boston.eknazar.com/Forums/showthread.php?p=2662#post2662
http://www.artima.com/legacy/answers/Apr2000/messages/381.html
http://forum.java.sun.com/thread.jspa?threadID=628159&messageID=3599887


Java API Documentation
The Java Tutorial
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to clear screen ??
 
Similar Threads
Clear Screen in java?
clearing screen HOWTO?
How to use CLS in init?
how to clear the dos propmt from a java program
How to give clearscreen from java