Someone will know the answer

I have written a program using menu driving array processing,
the last thing option that comes up on screen is to exit the program.... but in code how can i write this so the user can press 8 hit enter and the program will finish or shut?
also how do you write informatoin to a text file? any bits of code will be much apprieciated...
Thank you

Read these:
Timer
KeyListener
BufferedWriter
Tutorial: Java IO
Tutorial: Writing Event Listeners
Good luck.

Similar Messages

  • SOMEONE MUST KNOW THE ANSWER TO THIS... x

    please please will someone be able to respond to this
    basically... i cant get any sort of video bigger than a few minutes long onto my ipod
    ive used videora ipod converter to convert various different files. some films and some shows
    but it either doesnt copy over (error -69)
    or it copies over but when i play it on the ippod its jst a black screen with no sound, then gos back to the main menu...
    ive struggled for days and days now... PLEASE can someone help...
    thankyou
    Matt x

    hmmmmm. okay, let's try checking through the possibilities from this document:
    iTunes displays a -69 error when syncing iPod

  • Someone must know the answer to this?

    Hi. Have transfered music to vista. Got my settings on 'repeat all' for continous play, but it won't do it. Just stops after one song. Have also tried setting to shuffle but to no avail. Anyone have any ideas?

    All songs need to have the checkmark in front of them.

  • Imovie question someone must know the answer

    I have imovie 8 I take video with my lumix camera . I Download to iphoto
    I open imovie and it asks if i want to create thumbnails and I say now
    in my event library i see iphoto
    I click on iphoto
    the videos import ok but in the event library they are not listed  individually  just 1 thing iphoto
    any ideas why ???

    just did a test
    I created a video with the isight camera on my mac. When it was done it did create dated folders in the event list left side .
    Guess its only video imported from iphoto that all go under the heading iphoto and do not separate by date or title
    mabe something in the imovie software got changed

  • Help someone must know the answer

    I've udated itunes 10.3.1 and since then i've had no sound at all and itunes won't even play the songs tried deleteing quick time and re-installing but to no use.

    2 things to check.
    Make sure all songs have checkmark in front of the name.
    Make sure the songs are not set to Skip when shuffling. Select the songs, right click - get info. On the Options tab, uncheck *Skip when shuffling*.

  • Please can someone help, I have a question in my coursework that I don't know the answer to! Explain how PostScript fits into the design process?

    Please can someone help, I have a question in my coursework that I don't know the answer to! Explain how PostScript fits into the design process?

    The simple answer is that today PostScript really doesn't fit at all into the Graphic Design process, at least in terms of what the graphic designer needs to know.
    Historically, though, the PostScript imaging model, first introduced circa 1984 provided the basis for the initial publishing software including PageMaker, Illustrator, QuarkXPress, and even Ventura Publisher. This imaging model included support for continuously scalable text, vector, and raster imagery as well as the concepts of a current transformation matrix that allowed arbitrary scaling, rotation, etc. and multiple color spaces (grayscale, RGB, CMYK, spot, device independent, and color-managed).
    The PostScript imaging model was effectively replaced by the PDF imaging model, a significant superset of the PostScript imaging model, by the time Illustrator 9 and InDesign 2 were released in terms of support of ICC color management, transparency, etc.
    The fact is that a good graphic designed doesn't need to know anything about PostScript or PDF per sé, but rather about the basics of color (such as issues associated with color gamut and what how that affects display and printing), use of text versus vector versus raster images and why one should keep content at the highest level of abstraction all the way to the rendering (or screen) or RIP process for printing. Some knowledge of typography also helps.
              - Dov

  • I purchased a Macbook Pro 17" with an I7 chip 2.4. Apple says you can go up to 8 GB of ram. I have read that it will support 16 GB. Does anyone know the answer to this?

    I purchased a MacBook Pro 17" with an I7 chip. Apple says that up tp 8GB of are supported. I have read that up to 16 GB are supported. Does anyone know the answer to this?

    If it's a 2011 model, the limit is 16GB. If it's a 2010 model, the limit is 8GB.
    (64363)

  • When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb.But the output records is originally 4000 records. When copy to new excel it is showing 3.5 mb only. Does anyone knows the answer for this issue?

    When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb. The records contained in excel file is 4000 records. When taking the excel records and copy to new excel file the excel file size is 3.5 mb only.Why does the oracle software generates 20mb file?
    Does any one knows the answer please advice?

    Hello,
    This issue is because the Excel output from BI Publisher is MHTML (XML Publisher generates XHTML) not binary .xls.
    MHTML and XHTML are more verbose formats than binary .xls.
    It will be large because the current Excel output is just an HTML and not compressed like PDF. Please use the workaround (save it as .xls file).  This is a known limitation of RTF layout templates.
    BI Publisher Enterprise has a new feature True Excel Templates. The layouts generate binary Excel output.
    Excel Output File Size Generated By BI Publisher is Very Large (Doc ID 760437.1)
    Bogdan

  • I have been trying to reset my security questions. i have found others who said they changed them from the manage account and then password and security online, but i am asked to answer the security questions i don't know the answers to. help?

    for some reason apple thinks ill know the answers when im trying to change them haha :/ does anyone know how to bypass this or any other way to change the security questions for your account?

    Welcome to the Apple Community.
    Start here, and reset your password, you will receive an email with your new password, then go to manage your account > Password and Security and change your security questions.
    If that doesn't help you might try contacting Apple through iTunes Store Support

  • Itunes is asking me to answer a secuirty questin which i do not know the answer to

    i do not know the answer to my secuirty questions

    Go to http://appleid.apple.com and sign in. Click on 'Password & Security' in the left sidebar. On the right you may see a link saying something like 'Send Security answers to...' and a partial email address. If so, click this to get the answers.
    If this doesn't work you will have to contact Support. Go to https://getsupport.apple.com ; click 'See all products and services', then 'More Products and Services, then 'Apple ID', then 'Other Apple ID Topics' then 'Forgotten Apple ID security questions'.

  • TS1424 security questions i do not know the answer to then please send me one some more please david adams

    security questions i do not know the answer to then please send me one some more please david adams

    Please be aware that you are not communicating with Apple when you post in these forums. The only people who will reply to your posts are your fellow users.
    As to your issue, go to:
    https://appleid.apple.com/
    If you've forgotten your answers, there should be a link just under the security questions fields where you can have a reset email sent to your Rescue email address. If the link for the email doesn't appear, as can happen if you didn't set a rescue email address or (apparently) have a .Mac email address, go here:
    http://www.apple.com/emea/support/itunes/contact.html
    to report the issue to the iTunes Store.
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • How dos the application will know the path of persistence.xml file

    Hi ,
    I am seeing examples for ConatierManaged EntityManager
    @PersistenceContext
    public class Test extends HttpServlet
    public void doGet()
    EntityManager em
    // JnDI Lookup code
    em = (EntityManager) ctx.lookup("java:comp/env/persistence/em");
    em.persist(Employee)
    }Inside web.xml file
    <web-app>
    <persistence-context-ref>
    <persistence-context-ref-name>persistence/em</persistence-context-ref-name>
      <persistence-unit-name>my-pu</persistence-unit-name>
    </persistence-context-ref>
    </web-app>Please tell me how the Application will know the path of persistence.xml file .
    Thank you for reading

    it is predefined; JPA always looks for the persistence.xml file in the META-INF folder.

  • HT5312 i dont know the answer of  my securty questions

    i am traying to buy app from app store and they ask me to answer the  securty questions and i dont know the answers please help me to fix thans espicaly i redeem my account with 100 $
    thank you

    The instructions on the page that you posted from should let you reset them. If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then steps 1 to 5 on that page will let you reset them : go to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account, then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you should see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you won't get the reset option - as it says on that page you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the page that you posted from to add a rescue email address for potential future use

  • HT5312 I forgot the security answer also the email is incorrect. So can i use the other email to know the answer of security question

    I forgot the security answer also the email is incorrect. So can i use the other email to know the answer of security question

    The reset link will only work for the rescue email address that you currently have on your account. If it's wrong (you won't be able to change it until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down the page that you posted from to correct your rescue email address for potential future use

  • Please help me to know the answers

    Hi ALL,
    Please help me to know the answers
    What is the role of the container element in BPM?
    What  is the difference between Idoc and RFC adapter ? How to decide which one will be used?
    How to restart the adapter engine or J2ee engine?
    What is the role of wndows1 and windows2 in SXMB_MONI?
    Is it possible to see the message after mapping ?If it is possible how to check?
    Regards,
    Somenath

    Hi somenth,
    What is the difference between Idoc and RFC adapter ? How to decide which one will be used?
    A)in case of sender idoc means Sender IDOC adapter need not be configured because IDOC adapter
    lies in ABAP engine - IDOC adpter resides in Integration engine.
    Incase of receiver, whatever is the adapter, you need an adapter configuration and receiver
    agreement - from the IE, the xml msg need to be sent to pipeline of idoc adapter,
    so you need a recever agreement......
    IDOC #
    Idoc Adapter: The next most commonly used adapter is Idoc adapter for sending and receiving Idocs from SAP XI.
    The foremost step before configuring the idoc adapter is the system settings that have to be done
    Details:
    In the case where we encounter a standard IDOC provided by SAP or Situation where a mapping is available or
    an IDOC as well as a BAPI exits, the approach will be dependent on the specific integration scenarioo......
    for For example, options might be
    1) sending one IDOC at a time
    2) combing multiple IDOCS and sending as a single IDOC.
    3) making one single RFC call, for each business transation.
    4) avoiding multiple calls to the same BAPI / RFC by deploying a wrapper BAPI and sending all records in one call.
    5) Using the proxy and sending all data in one shot and making single calls to the BAPI from the proxy.
    proxy and rfc adapter #
    a proxy on the SAP application system should be used while interfacing with a standard BAPI or remote enabled
    function modules on the application system. the proxy will be invoked by SAP PI/XI and on the application system
    the proxy will call the BAPI. in SAP systems with WEB AS versions <6.20 the proxy option is not available and hence
    the RFC adapter should be used insted.
    Disadvantage:
    pre-built meta data and the mapping that SAP delivers will not be usefull as the BAPI is wrapped with a proxy.
    so if the pre-defined integration content is not taken into account the proxy should be used insted of configuring
    the RFC adapter and calling the BAPI / RFC
    Advantage:
    it bypasses the adapter engine and directly interacts with the application system and integration engine thereby
    enchancing the performance
    2 )What is the role of the container element in BPM?
    A)The workflow container contains an element which is defined with a data type reference to the same object type that is created in the referenced task, this binding definition is proposed automatically when an activity is defined.
    If no element with an appropriate data type reference is available in the workflow container, a suitable element is added to the workflow container and the binding entered.
    Defines the data for a business process and to enable data to be transferred between the individual steps of the business process.
    consists of an unlimited number of container elements.
    Container elements ( Variable declaration)
    Consists of a name to address data in the process
    Can be typed to
    *Simple XSD ypes :XSD:data,XSD:time,XSD:integer, XSD:string.
    *Abstract interface
    *Receiver
    *Can be multiline ( a vector of the types above)
    3)How to restart the adapter engine or J2ee engine?
      SMICM
    4)What is the role of wndows1 and windows2 in SXMB_MONI?
    Window1 and window2 will get you the message payload
    we can check the messages in SXMB_moni
    regards
    srinivas

Maybe you are looking for

  • Re: Txn F-28

    Hello, I copied txn F-28 to ZF28 and Post Incoming Payment using Payment Advice Number ( Idoc ). But when i display document using FB03, in Environment Menu there is option Payment Usage is disabled. How do i enable this menu option. Thanks. Hitesh

  • How to install APEX wit E-Business Suite Release 12.0.4

    Hi Community, We have just installed the VISION demo database and the E-Business Suite Release 12.0.4 on a test environment, under SUSE SLES 10 SP3. In order to see if we can take advantege of APEX with the EBS 12.0.4, I would like to know what kind

  • In app purchase for tomtom - login rejected!

    Afternoon all - i was going to get the in app purchase for the tomtom - it asks me for an email and password - my itunes one isn't working - and i cannot access it from itunes - do i have to register somewhere else for in app purchases? If so, where?

  • I'm having HotSync problems for my PalmZ22 on Windows 7 Computer

    I downloaded all of the data that came with my Palm Z22 but the hotsync does not work. a message that says "The selected port, COM3, is not availble at this time. HotSync Manager will open the port when it becomes available." always pops up when i cl

  • Audio and video sync problem using itunes player

    When I play a movie using itunes it starts out okay but after a few minutes the audio and the video are no longer in sync. Anyone have a solution for this problem Dennis