File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "clear screen?" Watch "clear screen?" New topic

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
Is there a command in your OS to do that? Perhaps you could issue it from the java program.
Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2846

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

Hope this helps

|Asking Good Questions|
I agree. Here's the link:
subject: clear screen?
It's not a secret anymore!