How can I clear the common line information

My program need to clear up the inforamtion in dos promp,which java method can clear up screen

Java does not have control over the command prompt, but there is an MS-DOS command, clear, which does.
System.exec("clear"); (this won't be right, I haven't looked it up, but you get the idea)
This should help you along.

Similar Messages

  • How can I print the "number lines" with the code in Visual Studio?

    How can I print the "number lines" with the code in Visual Studio?

    Hi BillionaireMan,
    What about your issue now?
    If you have resolved it, you can share the solution here, which will be beneficial for other members with the same issue.
    If you did not, please tell us more information,we will try my best to help you.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I clear the recent document list on the welcome page?

    Have some confidential docs that I don't want to appear when the program is launched. How can I clear the recent document list on the welcome page and the "open recent" list?  thx

    It's not an option in the prefs. It's a hidden file that makes up part of the preference set (as far as I know, most, or all of the seetings you can adjust inside ID's prefences dialog are actually saved in the other half of the set, InDesign Defaults). For more information, see Replace Your Preferences

  • How can i clear the usernames and passwords history from all login websites?

    how can i clear the usernames and passwords in the log in history of the websites? example when i want to login to my facebook i always type first letter of my e-mail and it comes with the passwords because before i put remember my password, and in other websites so, i just need to delete all this login history and it's not working from the clear everything !!! :S any idea please !! thanks in advance :)

    See:
    http://kb.mozillazine.org/Deleting_autocomplete_entries
    http://kb.mozillazine.org/Password_Manager

  • 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.

  • I deleted all my photos and videos and then delete the deleted files but the photo app is still taking up 12 GB of space and I have no room for new stuff.  How can I clear the memory space used by my deleted videos and photos?

    I deleted all my photos and videos and then delete the deleted files but the photo app is still taking up 12 GB of space and I have no room for new stuff.  How can I clear the memory space used by my deleted videos and photos?  I don't know why the photos are still taking up space and if I will have to reset my phone to get rid of the problem.

    Hey there TowneJ,
    Welcome to Apple Support Communities.
    The article linked below provides troubleshooting tips that’ll likely resolve the issue that you’ve described, where deleted files appear to be taking up space on your iPhone 5.
    If you get a "Not enough free space" alert on your iPhone, iPad, or iPod touch - Apple Support
    So long,
    -Jason

  • 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

  • How can I search the last line in an internal table?

    How can I search the last line in an internal table?
    With a describe?? If it is , how can I do that?
    Thanks!!

    Hi shilpa,
    it seems to be you are NEW to SDN. welcome. if you want to get solutions to your Questions, you have to post a NEW thread.dont use the existing thread to post your question.
    any way i am giving you the solution for your question
    LOOP AT ITAB WHERE F1 = <SOME VALUE>
                       F2 = <SOME VALUE>.
    ENDLOOP.
    IF SY-SUBRC = 0.
      ITAB WILL HAVE THE LAST RECORD which satisfying the given criteria in WHERE clause of LOOP.
      write itab <--this ITAB will have the last record.
    ENDIF.
    regards,
    Srikanth.
    Message was edited by: Srikanth Kidambi

  • How can I clear the stored browsing history in iCloud?

    As the headline says, how can I clear the stored browsing history in iCloud?
    After resetting my iPhone, previous history came back as soon as I signed in with iCloud on it. I would really like this to not occur.

    The only place that Thunderbird gets suggested addresses is from your address books. I have seen some not show up in the books because some key info was never stored when the contact was saved.
    Sometimes you can start a new message and when the bad contact shows up select it. Create the message and save it to drafts. Then you can go to the Draft folder open the draft message by right clicking and select Open Message in Tab. Then click the star to the right of the contact and it will open the contact edit button. From there you can delete the contact.
    This does not always work though.

  • How can I clear the "Purchased" apps?

    How can I clear the "Purchased" apps list from the "Not on This Iphone" list of the Updates section of the App Store on my Iphone 4?
    There is no clear function.  If I Erase All Content and Settings in General Settings will that do it?  It'd be nice not to have to do that and erase all my data and media.

    Nick, you had the right idea.  Success!  I changed my email address on my Apple ID.  Then went to my Iphone and under Settings, iTunes & App Stores, press on AppleID: (I.D.inserted), Sign Out, Create New Apple ID.  Used the original Apple ID email address to create a "new" Apple ID, going through the whole set up process again, including billing info.  Then, when opening the App Store app there are no Purchased apps to display, because there are none on this "new" account.  The old account still exists in Apple cyberspace, but it is not tied to my iPhone or iTunes anymore.  There does not appear to be any way to delete an Apple ID.  Maybe after a few centuries Apple will discard it.  Maybe not.

  • How can we get the selected line number from JTextArea ?

    how can we get the selected line number from JTextArea ? and want to insert line/string given line number into JTextArea??? is it possible ?

    Praitheesh wrote:
    how can we get the selected line number from JTextArea ?
    textArea.getLineOfOffset(textArea.getCaretPosition());
    and want to insert line/string given line number into JTextArea??? is it possible ?
    int lineToInsertAt = 5; // Whatever you want.
    int offs = textArea.getLineStartOffset(lineToInsertAt);
    textArea.insert("Text to insert", offs);

  • How can I clear the message thatI don't have the latest version?

    Upgraded to v.6.0.1 but always opens in http://www.mozilla.org/en-US/firefox/4.0.1/firstrun/.
    How can I clear the message that this is not the latest version?
    I've uninstalled and reinstalled from fresh download but message still appears. Problem is only on one user account on my laptop - the other is up to date with no error message.

    See these articles for some suggestions:
    * https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    * https://support.mozilla.com/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    * http://kb.mozillazine.org/Preferences_not_saved

  • How can I clear the history on the maps app on iphone 5 IOS 6.0.2

    How can I clear the history in the maps app that came with iphone5 IOS 6.0.2 ?

    tap the little bookmark(book symbol) on the top right.

  • How can I clear the clipboard?

    Hi.
    I'm working with images, I do different operations with image, after that I'm saving it (the path is the same), and I want to see the new image.
    The problem is that when I create new object the path remain the same, and because of that Java uses clipboard and shows the old image and not the updated.
    So, how can I clear the clipboard?

    Maybe it isn't clipboard but cache?
    so,how can I clear cache?

  • How can I clear the 0.03 on my apple ID?

    Hi, please help, how can I clear the 0.03 on my Apple account? I do not want to buy anything else.

    I assume that you want to change countries ? If you do and you can't spend it then you can try contacting iTunes Support and ask them if they can remove the balance so that you can change countries : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

Maybe you are looking for

  • PDF Portfolio, consistent attachment panel size

    Hello, I have created a PDF portfolio in Pro v9. In my attachments panel, the attachment icons are lined up in one column. When I send this portfolio to others (they have v9), the icons in the attachments panel are lined up in 2 columns. Is there a w

  • Hi, I want to know how many can you hace with the dame id?

    Hi I have a friend, who I would like to share my ID with, but I don't know if there is a limited amount of devices you can use with the same account. Could you please tell me.

  • 5310 can't transfer music

    Whenever I try to transfer music using PC suite it converts it and puts it in my collection folder but then as it tries to transfer it to the phone it comes up with "unknown error".Sometimes it will get half way through copying before the message app

  • Ipod 5th generation 30gb not recognized by computer , you'll make my dreams come true !

    Hello my name is Anna , 4th year Computer engineering student , from spain. as i said when I connect my ipod it says USB Device Not Recognized , any solutions please ? tried alot nothing worked

  • What is EcmView??

    What is EcmView and where did it come from? What can I do to just use Adobe Reader and get rid of EcmView?