answersLogoWhite

0


Best Answer

I am also finding you can use this: System.out.println("\033");

I have checked it in Eclipse. Please check it in any other compiler/ IDE.

Sorry Doesn't work with my Java 6

Output -

/033

/033 : Your slash is the wrong way around ("\033", not "/033").

User Avatar

Wiki User

โˆ™ 2010-10-14 20:40:38
This answer is:
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
User Avatar
Study guides
๐Ÿ““
See all Study Guides
โœ๏ธ
Create a Study Guide

Add your answer:

Earn +20 pts
Q: How to clear dos screen in JAVA?
Write your answer...
Submit
Related questions

What is the DOS command applet?

There is nothing called DOS applet.. You can run Java applet from DOS..


Which of following is not computer hardware keyboard DOS Screen Modem?

DOS


What are the difference DOS command?

1) Type "date" + enter = display the date commend 2) Type "clr" + enter = clear the screen commend


How do you get the DOS screen up?

In Windows, to bring up the DOS screen, simply go to the start menu, choose RUN, and enter CMD. You can also access the DOS screen from Windows during startup by hitting F8 during the boot process and choosing COMMAND PROMPT.


How do you clear the screen in java program?

If you're working straight from the command line, then there's really no normal way to do this. The easiest way is to know how big the displayable window is and simply print out newlines until the whole window is "clear."


How do you clear screen in java eclipse?

There is no way to clear the screen inJAVA. It seems that you are a beginner in Javaand just migrated from age old Turbo C.The reason because there is no clear screen is that you will never need it when you develop actual Javaprograms. Have you ever seen an application that clears it screen (apart from DOS based applications).When you develop an application for a client, you do not expect him/her to go through your clumsy console. The console is available only for debugging purposes or for learning the language. When you deploy your application, you always have an interface associated with it (like your own internet browser or any other window).So stop worrying about clearing the screen.Of course, you can still manually clear the screen of text by printing out enough blank lines to run all other text out of the terminal window.Most console windows will start of with about 25 lines of text, so something like the following should do what you want in most cases:for(int i = 0; i < 40; ++i) {System.out.println();}


When moving the laptop screen up and down more and more lines on screen?

no it dos not


Do the clear screen protectors eventually damage the Nintendo DS screen?

No, in fact, the clear screen protectors help to prevent damage to the Nintendo DS screen.


What are the feauture's of a flat screen monitor?

the screen is not clear


What is the command to clear thecommand window screen?

clear


Why does not use pointer in java?

In Java Garbage Collection is present. Garbage collector job is to clear the space which is not in use.


How do you get out of dos mode?

You have to just write there exit keyword.And if you have maxize screen of dos then u have to press alt+enter. Pooja


My runescape Private server DOS batch file won't open?

This may be because you have not either installed your java properly or you haven't set the PATH of your java properly or just simply your java is out of date and needs updating.


What is root directory?

Root directory is the highest level directory and this is the directory that appears first on the screen when you start MS-DOS. Generally, 'C' Drive appears on the MS-DOS screen as root directory.


What screen do you use to clear all imds suspenses?

SCREEN 128


The commands for compiling and running a java application from the DOS command line?

Add the JDK bin directory to your path, then:javac yourfile.javajava yourfile


Why do you have a black screen when you join a server in minecraft?

Maybe you don't have Java.


How do you clear the Linux terminal screen?

With the clear command.


What exactly does chat sin java mean?

It is unclear what the questioner is looking for. Chats in Java may refer to web forums which are dedicated to those users interested in Java. No clear translation for 'chat sin java' has been found.


What dos a minim note look like?

its a stick with a clear circle


What Linux command blanks the screen?

clear clears the screen.


Does IBM PC dos come with a GUI?

IBM PC DOS doesn't come with a GUI, Just a black &amp; white screen at first after that the colored screen was developed, but the first GUI product was an apple product.


What is meant by constructor in java?

It is the way to create the instances of class. in java. to know how constructor works first you should be clear with the concept of class.


Where can you get free touch screen Java games?

any where just type in google


What does the Type command do?

A DOS command that displays the contents of a .txt file on your screen.