Clearing the DOS prompt screen in Java
Hi guys can any of you tell me how to clear the DOS prompt screen using Java
is there a method in the System class or what?
I am using Java 2
and please no applet code... I am just coding in an MSDOS window
Cheers
Dark Star
UK
it can''t be done (to my knowledge). Java doesn''t think of a DOS window as a window
you can always try
:D
You might want to look into JDK1.4 - they might have added something, but my guess is if you want to do anything fancy, you might have to move up to AWT or Swing.
~~~
Cheers!
Brett Porter
PortaLib3D : A portable 3D game/demo libary for OpenGL
Community Service Announcement: Read How to ask questions the smart way before posting!
you can always try
for (int i = 0; i < 50; i ++ ) {
System.out.println();
}
:D
You might want to look into JDK1.4 - they might have added something, but my guess is if you want to do anything fancy, you might have to move up to AWT or Swing.
~~~
Cheers!
Brett Porter
PortaLib3D : A portable 3D game/demo libary for OpenGL
Community Service Announcement: Read How to ask questions the smart way before posting!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement