Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes clear screen? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "clear screen?" Watch "clear screen?" New topic
Author

clear screen?

Waria Ahmed
Ranch Hand

Joined: Jul 09, 2008
Posts: 56
Is there any way to clear the screen in java?

Just trying to clear the previous screen before moving onto the next screen.

Thanks in advance.
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 691
    
    1
Is there a command in your OS to do that? Perhaps you could issue it from the java program.
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2802
    
    9

We have a beginners faq entry for this.]
You'll find it here.


Hope this helps


SCJP, SCWCD.
|Asking Good Questions|
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: clear screen?
 
It's not a secret anymore!