How do I clear the screen?

Hello,
I would like to know how to clear the screen. What is the code for it?
Ernest_E

Hi,
Look to the left. There is a search field there. This question is often asked. The short answer is that you can't do it.
/Kaj

Similar Messages

  • How do I clear the screen in text mode (cls)

    How do I clear the screen in text mode (cls)
    Thanks,

    Clearing of console is an OS specific command, so
    in case of Windows you should try:
    Runtime.getRuntime().exec("cls");Though it wouldn't help, because exec() will be done as a separate
    process... :)
    Paul

  • How do I clear the Screen Saver?

    How do I clear the Screen Saver from showing the photos on my phone?

    You must have set it to use your photo stream as the screensaver. You can go into settings - screensaver to change to a different source.

  • How do I clear the screen in console application?

    In C or C++ we can clear the screen by clrscr() function.
    How can I acheive something similiar to this in Java

    Hi,
    Take a look at the below link may help you
    http://www.codeguru.com/forum/archive/index.php/t-323058.html
    This forum is exclusively related to discussions about Sun java Studio Creator. Henceforth please post these threads to an appropriate forum.
    MJ

  • How i can clear the screen in JAVA?, in c++ is  command that called .......

    system("cls")
    but in JAVA??
    thx
    gicio1

    system("cls") is the silly way to do it. For a start, "cls" isn't on most computers, because most computers call it "clear". You could run this from Java using Runtime.exec("clear"), Runtime.exec("cls"), etc .. but the best way to clear the screen is still to print out N newlines, where N is the height of the screen.
    The only problem with this way is, you don't know the height of the screen. You could pass an environment variable in as a system property, from whatever launches your program, and if it's not there "assume" it's 200 or something. Then just build up a string with "\n\n\n\n\n\n\n\n"... and print it out. Blam, blank screen. :-)

  • How can i clear the screen???

    yup! how can i d that before i print the content into the screen???

    In Windows, you can use this configuration. Don't forget the changes in config.sys.
    // The following line must be added to
    // config.sys for clearscreen to work !!
    // DEVICE=C:\WINDOWS\COMMAND\ANSI.SYS
    public class ClearScreen {
      public Test() {
        System.out.println("Hi How are you?\n\n\n" );
        System.out.println("Hi How are you?\n" );
        char esc = 27;
        String clear = esc + "[2J";
        System.out.print(clear);
      public static void main(String[] args) {
        new Test();
    }

  • How to clear the screen in the command prompt?

    Hello Everyone,
    I was wondering how we can clear the screen in the command prompt in Java. I remember we can do this in C by writing system("cls");
    What is the best IDE for writing Java programs. Is the NetBeans IDE good? Thank you very much.

    I was wondering how we can clear the screen in the
    command prompt in Java. I remember we can do this in
    C by writing system("cls");I guess there's no Java way of doing that because it's a function of the shell you're calling. If you try to use Runtime.exec on cls, it starts yet another shell, clears that, and closes it again, so it has no effect on your output.
    You could try using the '\b' backspace character, if that helps.
    What is the best IDE for writing Java programs. Is
    the NetBeans IDE good? Thank you very much.By the way you're asking this question, the answer will be almost certainly "none". If you want to, you can search this board for the few million times this question was asked before, pick all IDEs suggested there and use the one you're most comfortable with.

  • Clearing the screen

    I realize this has probably been covered before but how do you clear the screen of previous lines of code?
    I am using Crimson Editor and the latest SDK and running programs in a DOS shell.
    Please let me know how to do it, if it is a DOS command how to implement into my program and if a java method what the parameters are.
    Thanks.

    If you are wanting to clear the DOS window, there is no provision in Java for that. You could output new lines from your program and force the data on the screed to scroll off.
    The DOS command to clear the screen is "cls" and you will need to use runtime method. Search the forums for that method, there are literally hundreds of posts on the subject. The search is in the upper right corner.

  • How to clear the screen in java?

    Hi,
    How to clear the screen in java without using any loops?
    Thanks

    Just paint with your background color to let the old paintings vanish.

  • When I am on my home screen on the iPhone, swipe left to the search page. Put a letter in the search field. then scroll down. eventually you get to all your texts previously deleted or not. The are all there. How can I clear the entire text from the phone

    When I am on my home screen on the iPhone, swipe left to the search page. Put a letter in the search field. then scroll down. eventually you get to all your texts previously deleted or not. The are all there. How can I clear the entire text from the phone

    When I am on my home screen on the iPhone, swipe left to the search page. Put a letter in the search field. then scroll down. eventually you get to all your texts previously deleted or not. The are all there. How can I clear the entire text from the phone

  • Hi, I am trying to download IOS7 to my ipad. The programme has locked at the 'Choose a Wif-Fi network' page, a box says 'joining other network' but the page is greyed out and can't move from it.  How can I clear this screen and finish the download. Thanks

    Hi, I am trying to download IOS7 (not sure if it's 1 or 2) to my ipad. The programme has locked at the 'Choose a Wif-Fi network' page, a box says 'joining other network' but the page is greyed out and can't move from it.  How can I clear this screen and finish the download. Thanks

    Hello Den53,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430?viewlocale=en_US
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider.
    After the device has turned off, press and hold the Sleep/Wake button until the Apple logo appears.
    Best of luck,
    Mario

  • How Do I Clear the app download screen

    How do I clear the app update screen after I have updated the apps.

    TThe apps do not delete.  Apple has not programmed this I to the system.  Keep on letting them know that this clutter is not necessary.  Everyone was used to the old system, update and disappear when done.  I do not like the clutter myself.  Keep on asking apple to fix this.  

  • Does anybody know how to Clear the screen in Java?

    Hi guys,In C we use System Clear.
    In java,which instructions shall i use in order to clear the screen?
    Thanks,in advance!

    Of course you shouldn't do so anyway...
    Terminal programs should coexist with all other terminal programs and not try to dominate the screen.
    They should never clear the screen as this would remove output from other programs running in the same terminal.

  • I have forgotten my password and locked my phone, how can i clear the problem

    I have forgotten my password and locked my phone, how can i clear the problem

    By coincidence, this happened to my son just last night.  You do NOT have to restore it to a new phone, but you probably want a current backup.
    Luckily, you can still sync and back it up even if it's locked, so connect it to the computer you usually sync it to. Go to the summary page. It's easiest and fastest to use a local backup, so if iCloud backup is on, turn it off and click "Backup now".  
    After it backs up, either click "Restore iPhone", or
    - hold home and the top button until the screen goes black, release the top and continue to hold the home button until iTunes says "iPhone in recovery mode detected". 
    Follow instructions to restore from backup, and then sync to restore content.  Your phone will come up in an unlocked state. If you have any stuff that was purchased directly to the iPhone (only), you'll have to re-download it. 
    Remember to turn iCloud backups back on if you use them.
    If you don't sync you iPhone to a computer then I *think* those instructions with the buttons will put it into a mode where you can restore it from the cloud (make sure it is NOT connected to a computer while you do this). Otherwise, you will have to restore it as a new phone, then go to settings, reset, then restore it from the cloud.

  • How do I clear the browsing history on my iPad?

    How do I clear the browsing history on my iPad 2?

    Settings > Safari > Clear History (and Clear Cookies And Data if you want to clear them as well).
    If you also want to clear your search history (i.e. the words/phrases that you've typed in the search box) then you may also need to close Safari completely : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.

Maybe you are looking for

  • Should I use it as a 40gb external hard drive? Is it done?

    Well, I have a 40gb Ipod classic 4th gen that displayed the folder icon. I performed a HDD scan and it passed, set it to discmode and itunes recognized it and begins the restore. This is where the problem occurs. It says that i have to unplug the ipo

  • Mail sends mail prematurely

    Since the last iPhone OS update (Oct 09) my 3G sometimes acts as if I've hit SEND in the middle of typing an email message. The SEND key is way up on top right when keyboard is in use but it must come from accidentally touching return or backspace ke

  • Ora-02298 in migrating MS-SQLServer to Oracle 8i

    Greetings, I am in the process of migrating a MS-SQLServer db to Oracle 8i. I have encountered an error (ora-02298). The following was inserted into the mwb error log: REM REM Message : Failed to create foreign key: FK_M_REQUEST_M_WORK_ORDER: ORA-022

  • Checking for Empty ResultSet

    I am doing an insert into a table, but only if the first name and last name are not already in the table... i tried using the wasNull() method but that didn't work, Here's the code, I'm sure you'll be able to get the jist of it when you see it...    

  • EXIT_SAPLFMR4_002 in extension FMRESERV

    Dear SAP gurus, There is a requirement to change cost center while posting from SD to FI. I am using this exit EXIT_SAPLFMR4_002 in extension FMRESERV, however i am getting error "Internal error: Entry in COKA-Buffer not found" Is there any solution