I started a timer using TIMER class but I can't stop it even if I using

stop() command . What can I do?

you have to call timer.cancel() on your timer object.
eg:
timer = new Timer();
timer.schedule(new MyTimeTask(),0,1000);
and when u want to stop it:
timer.cancel();
Hope this works!

Similar Messages

  • HT1146 I have iPad 2, 16, no GSM and iphone 3gs as well. On iPAd I can not see mail preview (using agent Mail), but I can see it on iphone. I use iCloud, but do not syncronize mail though it neither iPad, nor iphone. It looks some settings on iPad wrong.

    Nothing mentioned in Email Quick Assist fits my case. I guess it must be automaticaly previed. Is that?

    Thank you to everybody. Restarting is definitely solved the problem. Was it bug?

  • My iMac 27" screen is black and will not start. The computer is making noise and beeps when i use the keyboard but I can't see anything. I have rebooted with no success

    My iMac 27" screen is black and will not start. The computer is making noise and beeps when i use the keyboard but I can't see anything. I have rebooted with no success

    Have a look at these. And please say what OS you have.
    http://support.apple.com/kb/ts1411
    http://support.apple.com/kb/ts1367

  • Time machine working well but I can't find backed up files fast enough?

    Time machine working well but I can't find backed up files fast enough. When I look in Time machine backups I'm looking in a folder and I can't remember what it was, but I go back in time and the finder goes from 98 files to 100 files, how do I find which 2 files were the ones deleted? Going back and forth from past to present is a pain! I need to figure out which file it was faster? Have any ideas?
    With the new "Find" feature it actually highlights what you are looking for such as in Safari. Does Time Machine have a feature to highlight the files/folders that were deleted really from the present?

    It sounds like you aren't looking for any file in particular, but notice a change in number of files and would like to know what changed rather than knowing that a specific file is now missing.
    that's a good point, and it appears that TM is not setup to describe the changes over time. If I recall correctly, it has a plug-in ability, so maybe somebody will fill in that void.
    Sheldon

  • I was not using the cellular data on my Ipad, yesterday I reset my account to start using it again but i can't, please help!!!!!!

    I was not using the cellular data on my Ipad, yesterday I reset my account to start using it again but i can't, please help!!!!!!

    I was going to say either that or to remove the email from your email account settings(on ipad) and put it back on. Happens everytime im forced to change my work email password. I need to delete the account and add it again for it to accept the new password.

  • I am trying to back up my mail (5.1) directories but I can no longer locate them. They used to be in the user library. Would be grateful for some assistance.

    I am trying to back up my mail (5.1) directories but I can no longer locate them. They used to be in the user library. Would be grateful for some assistance.

    They're stil there;  Apple decided to hide your Library folder.  Hold the Alt/Option key while selecting Go in a Finder menubar and select Library.
    Do you have other backups, made with a proper backup app?  If not, that's the best way to back up your data, rather than doing it "piecemeal" via drag & drop.
    You might want to review the Time Machine Tutorial, and perhaps browse Time Machine - Frequently Asked Questions.

  • Have i tunes 11.1.5 on windows 8 but i can't sync any devise when i use usb cable

    have i tunes 11.1.5 on windows 8 but i can't sync any devise when i use usb cable

    I have Windows 8.1 64. Upgraded my iphone 5 to 7.1 version.  My laptop did not recognize the iphone. After a couple of hours of tring to figure out why the laptop and iphone weren't syncing, these are the steps I followed. Most are pieced together from suggestion on various websites. Don't  know if all steps are necessary, but it's what I did and it worked.
    1) I did this first: Uninstall and reinstall itunes.
    2) Reboot computer and iphone (turn off the on again)
    3) Go to control panel and "repair" all apple apps.
    4) Go to "Device Manager" on computer (go to left bottom corner and right click, locate Device Manger from list or you can use the Search..
    4a) Go to Universial Serial Bus Controllers and look for "Apple Mobile Sevice USB Driver (Before "repairing" the apple apps, this did not appear on my laptop).
    4b) Right-click the Apple iPhone in Device Manager and select  Update Drive.
    4c) Click "Browse my computer for driver software."
    4d) Click "Let me pick from a list of device drivers on my computer."
    4e) Click the "Have Disk button"
    4f) At the "Install from Disk" click Browse button.
    4g) Go to the following folder: C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers and Click OK.
    4h) Click Next and finish the driver-installation steps.
    5) You should then see the "Apple Mobile Service USB Driver in the Device Manager now.
    6) Open itunes and hopefully the iphone and Windows 8.1 laptop will sync (a dialogue box will appear on the iphone 5 asking you  to "trust" the computer. Select Trust.)
    7) If this doesn't work, try rebooting your computer and turning off your iphone and then turn it back on.
    Good Luck. It shouldn't be this time-consuming.

  • Why IE5 could not find applet class but Netscape can ?

    Hi,
    I have an applet which is running fine on Netscripts6,
    But not on IE5.
    <APPLET codebase="http://10.1.1.1/demo/" code="ClientApplet.class" HEIGHT=300 WIDTH=300>
    <PARAM NAME="relay" VALUE="1">
    I have all class files under demo directory(the same directory as html file).
    IE5.0 still could not find applet class but Netscript can.

    are you sure its failing to load your classes or is it failing to load a class you are using?
    Remember IE only uses things from 1.1 so simple things like component.getHeight() does not work you have to use size().height
    Its woth enabling the java console and viewing the exact problem.

  • The new firefox opens my homepage IN ADDITION to the firefox startup page EVERY TIME I open firefox. How can I stop this and make it so ONLY my homepage shows?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/893967]]</blockquote>
    The new firefox opens my homepage IN ADDITION to the firefox startup page EVERY TIME I open firefox. How can I stop this and make it so ONLY my homepage shows?

    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

  • Hi when i click on mozilla firefox it keeps coming up saying restore session why is this every time i go on firefox how can i stop this and delete it all together

    hi when i click on mozilla firefox it keeps coming up saying restore session why is this every time i go on firefox how can i stop this and delete it all together

    When you quit firefox with tabs and windows open it "remembers".  When you start Firefox it tries to restore the tabs and windows you had open.
    You may also want to check the preferences for Firefox:

  • I am using Pages app but I can not make folders as instructed in help menu

    I am using Pages app but I can not make folders as instructed in help menu

    While in Pages looking at the screen with all your documents, touch and hold a document until it starts to jiggle.  Then touch a document and drag it on top of another holding it there for a couple of seconds until a folder forms.  While things are still jiggling you can click on the folder name and change it.  And while still jiggling you can drag more files into the folder, or create another folder.
    Much the same as you create folders of apps on your home screen.

  • I cannot open pdf files from one supplier when using Adobe Reader but I can using another Viewer

    I cannot open pdf files from one supplier when using Adobe Reader but I can open it if using Google PDF viewer or another viewer. The Adobe reader gives the error "There was an error opening this document. The file is damaged and could not be repaired" when I try to open the file. The version of Adobe Reader is 10.1.7, however I have tried other versions and they all fail the same way.  I have tested on a number of different PC's in different networks and all fail using Adobe Reader but work using alternate viewer. Also the PC's will open a PDF from any other source.

    Newer Reader versions are more strict than older versions (and other PDF viewers).  If certain minimum requirements are not met, Reader will tell you that the PDF is damaged.  This can happen when a document was created with software that does not adhere to PDF standards, or when the file was damaged during a download or email transmission.
    You should contact the creator of these PDFs.

  • Why cant i print from my ipad using airport express but i can print from my mac using the express

    why cant i print from my ipad using airport express but i can print from my mac using the express

    Because your printer has to be Airprint compatible and connected to WiFi. There are applications, such as Printopia, that will allow you to print through your computer.

  • HT5022 I'm trying to add a "new client" to my wireless network using Airport Utility, but I can't find that option in the new version.  I've downloaded all available updates of the OS and the utility..  Help!

    I'm trying to add my HP wireless printer as a "new client" to my wireless network using Airport Utility, but I can't find that option in the new version.  I've downloaded all available updates of the OS and the utility..  Help!

    Why would you need to ADD a new Client. Unless the APE sytem is completely different then any other Wireless router the printer should get an IP address from the router. That is IF the printer is setup to get an IP from the LAN DHCP server.
    Now you may want to make that IP it does get a Staticly assign IP address so it never changes, which will screw up printing if it does change. But i don't know if you can do that with APE routers.

  • Why my iphone 4 connect to wifi, but when i open safari and search something it say i not connect.. but in the same house my sister using iphone4 too but she can online with the same router

    why my iphone 4 connect to wifi, but when i open safari and search something it say i not connect.. but in the same house my sister using iphone4 too but she can online with the same router. i go and check over the detail of the network i connected, over the ip address and subnet mask have the numbers, but over the DNS and router don't have any number...isit the problem???? i can online at any other place but just my home cant...y????

    Hey confuddled_chica!
    Try the steps in the article below to troubleshoot this issue:
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

Maybe you are looking for