Start timer after completion of powerpoint presentation

hi..
im fresher..im developin an exam app..in which im displaying question with TIMER after displaying powerpoint presentation.but in my app,both powerpoint and Timer are executing simultaneously.wat i need is after powepoint presentation,timer should start,but here timer is starting along with the powerpoint.i think we need to use threads, but i donno how to reach
can anyone help me in this...
thank you..
public void shuffleQuestionList(Topic pTopic) {
        mTopic = pTopic;
        mQuestionsList = mTopic.getQuestionsList();
        String lPPTFile = mTopic.getPPTFileNameForTopic();
        //shuffles the question list randomlry
        //Collections.shuffle(mQuestionsList);
        scrollpane.setVisible(false);
        if(mTest.getShouldPPTDispalyed()){
        JOptionPane.showMessageDialog(this, java.util.ResourceBundle.getBundle(QuestionToolConstants.EMPLOYEE_TEST_PROCESS_RB).getString("After_clicking_OK_a_PowerPoint_presentation_about__") + mTopic.getTopicName() + " " +
                java.util.ResourceBundle.getBundle(QuestionToolConstants.EMPLOYEE_TEST_PROCESS_RB).getString("_") + java.util.ResourceBundle.getBundle(QuestionToolConstants.EMPLOYEE_TEST_PROCESS_RB).getString("will_begin._When_you_have_finished_looking_at_it,_answer_the_questions_"));
        //runs the ppt for current topic
        try {
            java.awt.Desktop.getDesktop().open(new File(lPPTFile));
            //sleeps current thread for 1 sec
            Thread.currentThread().sleep(1000);
        } catch (Exception ex) {
        }else  JOptionPane.showMessageDialog(this,"After Clicking Ok Questions from "+mTopic.getTopicName()+"  Will begin "+"\n"+"All the Best!");
        seperateQuestionList();
        Collections.shuffle(mMandatoryQuestionsList);
        Collections.shuffle(mNonmandatoryQuestionsList);
        //JOptionPane.showMessageDialog(this, "Now " + mTopic.getTopicName() + "will start");
        min = mTestTopic.getNoOfMinutes() - 1;
        sec = 59;
        if(mTest.getShouldTimeDispalyed())
        timer.start();
        //getQuestionList();
        retrievequestion(0);
    }

>
hi..
im fresher..><DWS>Fresher than what? Cheese?</DWS>
In any case, note the following.
1) Do not [multi-post|http://forums.sun.com/thread.jspa?threadID=5394663] questions.
2) It pays to ask a specific question, rather than stating a problem and that you 'do not know how to fix it and - please help'.
3) You are more likely to get help if you can present code in the form of an SSCCE (at least of what you have so far).

Similar Messages

  • ICal events changing duration and start time after .Mac sync

    I sync two OS X Tiger computers (10.4.2) using .Mac to keep my iCal calendars in order. Certain events following a certain date are mutating with longer durations and different start times after syncing between the two computers.
    Anyone experiencing the same problem?
    Any ideas?

    Two different problems here:
    Try one at a time:
    Quit iCal. Delete iCal preferences in your User Library: ~/Library/Preferences/com.apple.iCal.plist ( you'll have to reset iCal prefs after)
    For those having problems with .Mac sync, reset the sync System Preferences/ .Mac/ Advanced tab.
    Come back with results

  • Ipad not starting up after complete drain

    I'm charging the iPad using the wall adapter. Because I saw online it said it's good to drain the battery. I usually use up the battery before charging it. But these few days I kept having problems of charging.
    Now the iPad displays a low battery image. This usually shows up when we start charging after the complete drain. It used to be very fast to start up, but it has been showing this even after 2, 3 hours. The ipad won't start.
    This problem only started a few days ago. At first it won't charge, but after one day it seemed to be charging normally again. But after that, it charged very slow sometimes. It charged only to 2%.
    I saw the discussions, there are a lot of people having the charging issue.
    My ipad is still under warranty, though it's going to expire soon. I know that I need to send it to repair, but I need to back up first. Without turning on the ipad, I can't even back up now.

    For proper reporting of the battery’s state of charge, be sure to go through one charge cycle per month. Not every day.

  • Firefox crashes on start, even after complete reinstallation. No add-ons.

    Every time I open FF, it completely freezes within 5 seconds. I've uninstalled & reinstalled, I've removed FF & all traces of its data using Revo uninstaller, then reinstalled, and still get the same results. I've seen where malware could cause this kind of problem, so I've run full scans with Microsoft Security Essentials, Malwarebytes, Microsoft Security Scanner, and Kaspersky Security scanner. They all came back clean.
    I'd love to submit a crash report, but apparently these crashes aren't generating them. The only thing in AppData\Roaming\Mozilla\Firefox\Crash Reports is an InstallTime file, dated today (the date of my most recent reinstall). I also can't add any troubleshooting information, as FF crashes before I can add anything.
    Here's exactly what happens: I launch FF, whish responsive for the first couple seconds. After that, it freezes completely, and eventually "(Not Responding)" is added to the title bar. A little bit later, Windows pops up, asking if I'd like to check for a solution. That's it.
    Win 7 Pro, FF 18.0.2.

    Hello bob287, can you start Firefox in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#os=win7&browser=fx18 Safe Mode] by holding down the shift key while starting Firefox ?
    also, try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps.
    thank you

  • My iphone4 is not starting even after completing all the billing details?why?

    Hie,i have filled all the details including billing info n all then why cant i get I
    started with my iphone4?

    Welcome to the user to User Technical Support Forum provided by Apple.
    SANANADEEM wrote:
    why cant i get I started with my iphone4?
    What do you mean?
    iPhone Basics >  http://support.apple.com/basics/iphone

  • I have an ipad1 that I cannot upgrade to ios5. I have attempted to both cable and wireless download the software. Each time after completing the download the error message could not complete because the connection timed out" appears. What to do now?

    Can anyone suggest what else I can try?

    Make sure your computer and ipad aren't set to go to sleep.  If either goes to sleep, the upgrade won't work.

  • [SOLVED]X start failure after upgrade: dri3,present modules missing

    I start X with ~.xinitrc from console, which won"t work after last upgrade --first in two weeks.
    (EE) Server terminated with error (1).Closing log file.
    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: server error
    Xorg.log.0 :
    [51:778] (EE) intel: Failed to load module "dri3" (module does not exist, 0)
    [51:779] (EE) intel: Failed to load module "present" (module does not exist, 0)
    Installed packages (EDIT: completed):
    xf86-video-intel-2.99.{914-4,916-1}-i686 and also tried with xf86-video-intel-git, with "SNA" acceleration.
    intel-dri 10-2.7-3
    dri2proto 2.8-2
    dri3proto 1.0-1
    xf86driproto 2.1.1-3
    Linux 3.15.5-2-ARCH i686
    Linux CK Atom 3.16.2-1
    Issue occurred after upgrading from v2.99.912-1 to v2.99.914+. I was going to try downgrade xf86-video-intel to v2.99.912-1 (as in the first thread in Refs) but went in a dependency conflict, with the older intel driver requiring glamor-egl which conflicts with xorg-server ':-|
    Atom netbook
    lspci:
    00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
    Some refs :
        » [SOLVED] X start failure after upgrade    https://bbs.archlinux.org/viewtopic.php?pid=1426837
        » [Solved] xf86-video-Intel-2.99.912-1 breaks xorg https://bbs.archlinux.org/viewtopic.php?id=182932
    Last edited by kozaki (2014-09-12 09:45:53)

    The issue occurred after upgrading from xf86-video-intel-v2.99.912-1 to v2.99.914+ and xorg-server-1.15.2-1 to 1.16.0-6 (and -devel).
    same issue if:
    - Switching accelaration method to "UXA" as per https://bugs.archlinux.org/task/40860
    - Adding    Option "DRI" "False"
    Digged a bit:
    - same modules errors but appears to be a Gnome bug (X starts): https://bbs.archlinux.org/viewtopic.php?pid=1441716
    - same modules errors but X starts up without problems http://www.linuxquestions.org/questions … 175511372/
    makes me doubt if this issue is related to the modules not found. Which is the single indication I found so far x-/
    Any light on where can the issue comes from? hardware is pretty much standard even if getting a bit old. Never had Xorg related issue so far on this pancake.
    Last edited by kozaki (2014-09-11 11:05:42)

  • Long start up time after Leopard install on MacBook Pro...

    Hi, I just bought a MacBook Pro recently and upgraded it to Leopard
    But ever since then, every time I start it up it takes over a minute to load everything
    On Tiger, it would only take at most 20 seconds
    It would just stay on some blue screen for a while, about 30 or 45 seconds before completely starting up.
    Any suggestions on how to fix this? I used a clean install of Leopard

    Hi, I'm having the same problem. My MacBook Pro is new and came with the Leopard 10.5. It's taking 2 min to reestart. I've already tried to reinstall the system with "erase and install", but it did not help. Even the first time after reinstalling the restart is already slow.
    Have anybody heard anything about how to fix it?
    Thanks a lot.
    Fabio

  • Time and security protecting of PowerPoint presentations

    I would like to know if it's possible to security protect a PowerPoint presentation and to time protect it also.
    I have seen details of the security protection but not time protection.  Basically, we want to be able to allow use of a presentation which cannot then be copied or used after a period of time; ie 12 months.  This because we have to pay each year
    to register a course and we need to be able to pass a proportion of the cost on; with the presentation they could avoid paying and have our presentation to be able to carry on using.
    I look forward to hearing from you at your earliest convenience.
    Thanks and best regards,
    Phil

    Hi,
    As far as I know, Office has no build-in time protection feature. We might develop an add-on to get your goal.
    If you have any question about Office DEV, please post your question to the MSDN forum for General Office Development
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=officegeneral&filter=alltypes&sort=lastpostdesc
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Firefox does not start up after an automatic update. Every time i try to open it, it just prompts the Mozilla Crash Reporter.

    Firefox does not start up after an automatic update. Every time i try to open it, it just prompts the Mozilla Crash Reporter.
    ''Add-ons: {972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.10
    BuildID: 20100914125854
    CrashTime: 1290192405
    EMCheckCompatibility: true
    FramePoisonBase: 00000000f0de0000
    FramePoisonSize: 65536
    InstallTime: 1287124738
    ProductName: Firefox
    ReleaseChannel: release
    SecondsSinceLastCrash: 422
    StartupTime: 1290192405
    Theme: classic/1.0
    Throttleable: 1
    Vendor: Mozilla
    Version: 3.6.10
    This report also contains technical information about the state of the application when it crashed.''
    Same thing happens when i click restart.
    No difference when i run it in Safe mode. And it won't let me create a new profile either. Is there anyway else i can extract my bookmarks? This is driving me crazy!

    Did the crash reporter send any crash reports?<br />
    You can see the crash reports in this folder:
    "C:\Users\&lt;user&gt;\AppData\Roaming\Mozilla\Firefox\Crash Reports"
    See: http://kb.mozillazine.org/Breakpad
    See also [[Firefox crashes when you open it]]
    Create a new profile as a test to check if your current profile is causing the problems.<br /><br />
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]<br /><br />
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"<br /><br />
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)<br /><br />
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox<br /><br />
    If that still causes the same problem then do a clean reinstall and remove the Firefox program folder.
    * Download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data when uninstalling.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    See:
    * http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Ive just upgraded my late 2009 macbook, and things are not working properly. First of all, when I started the computer first time after installing Mountain Lion, some message advised me that some files were impossible to install.

    Ive just upgraded my late 2009 macbook, and things are not working properly. First of all, when I started the computer first time after installing Mountain Lion, some message advised me that some files were impossible to install. Once I wrote my password, and for now on, everytime I start the session, another window advise me that "Java SE 6" is missing, due that, the computer can't run some "CS5Service Manager". If I try to install it, the download ends with an error. If finally, you skip the istallation, you arrive to the dock, but the menu bar at the top of the screen doesn't show up.
    In addition, my trackpad doesn't works either. I can move the arrow but i can't click anywhere, probably because the option of clicking by touching is disabeled and I can't performance a regular click.
    I'll be very glad if someone know what the heck is happening with my computer. Anyway, I'm going to the genius bar next Saturday. Thx!

    We're sorry.
    We can't find the article you're looking for.
    Please return to the Apple Support homepage.
    Sigh.

  • How can I set a specific start play time after disc insertion?

    How can I set an automatic play start time of (say, a minute after the DVD was inserted) if the watcher has not selected anything from the main menu?
    TIA.
    MacBook Pro 2.16 ghz 17   Mac OS X (10.4.9)   FCP 5.1.2 DVDSP 4.1.1

    Set the timeout action for the menu in inspector
    (General Tab for the menu, set the seconds and what
    it should do there)
    I set the At End menu to Timeout, set the seconds to the same as the time for the song playing in the background to finish, and set the Action to go to the Track where the video is. The song ends but it just remains on the Main menu. The video doesn't start.
    What have I missed?
    Again, TIA.
    MacBook Pro 2.16 ghz 17   Mac OS X (10.4.9)   FCP 5.1.2 DVDSP 4.1.1

  • My Ipod touch plays music but every time I open an app that I have downloaded it closes immediately.  This started happening after updating to the latest version of Ipod software.

    My Ipod touch plays music but every time I open an app that I have downloaded it closes immediately.  This started happening after updating to the latest version of Ipod software.

    Here's a couple things to try:
    1. Reset the iPod by holding the sleep/wake button and home button at the same time for 10-15 seconds until the Apple logo appears on the screen.
    2. Uninstall and reinstall one of your purchased apps. Sometimes this can rectify the issue.
    3. Connect the iPod to iTunes and restore it. New system software usually resolves the issue. Make sure you sync before restoring because a restore removes the data from your iPod.
    Hope one of these works for you!

  • I've downloaded itunes 12.0.1.26 3 times after the update and it still doesnt work! Everytime i start it up it comes up not responding, why is this happening? how can it be fixed? I currently cannot use itunes!!!!!!

    I've downloaded iTunes 12.0.1.26 3 times after the update and it still doesn't work! Every time i start it up it comes up not responding, why is this happening? how can it be fixed? I currently cannot use iTunes!!!!!!

    Hey High Socks,
    Thanks for the question. If I understand correctly, iTunes isn't working when you try to launch it. I would recommend that you read this article, it may be able to help you isolate or resolve the issue.
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues - Apple Support
    Thanks for using Apple Support Communities.
    Have a great day,
    Mario

  • Each time I try to start iTunes after it was closed, it wouldn't start. I have to go to the Task Manager delete Apple Push from processes and only after that iTunes statrs again. What is wrong?

    Each time I try to start iTunes after it was closed, it wouldn’t start. I have to go to the Task Manager delete Apple Push from processes and only after that iTunes statrs again. What is wrong

    Did you manage to get it working mine disappeared after I while I managed to download it but now my laptop/iTunes won't recognise my iPhone!

Maybe you are looking for