This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Clear DOS screen in XP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Clear DOS screen in XP" Watch "Clear DOS screen in XP" New topic
Author

Clear DOS screen in XP

Rick Bratt
Greenhorn

Joined: Oct 24, 2002
Posts: 2
Help!
I need to learn how to clear the DOS screen on XP in a JAVA program. For example, while executing a program, clear the DOS screen before displaying the output.
Any help would be appreciated. Thanx!!
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch!
Take a look at this past conversation.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Try reading this:
http://www.coderanch.com/t/389825/java/java/Printing-same-line-console


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clear DOS screen in XP