Focus buttons and cpu time

I am confused about the fact that when I run my swing program in netbeans on windows xp platform. The buttons have the ability to traverse the focus around using TAB key. But when I run the program in unix, the TAB key has no effect on the focus at all. I really want the TAB key to work !!!
Also, anyone knows if java has a method to calculate cpu time? I can only use System.currentTimeMillis() to measure the wall clock time. But I will need the actual cpu time spent on that particular thread.
Can somebody help ? Thanks !!!

The problem is, there is no such process. In Windows Task Manager all the processes use 0%, and System Idle is 99%, but CPU usage on the Performance tab is still high.

Similar Messages

  • Kernel task is hogging lots of threads and CPU time

    My Mavericks Quad Macbook Pro is getting pretty slow these days and at some point I'll have to reinstall everything I think. However I can't start that for a while as I have important projects on the go. I looked in Activity Monitor first and I can see a kernel task constantly running with no indication of what it is doing. So I opened Console and looked at the Diagnostic log. I can see a lot of lines referring to com.apple.message. Hundreds of identical lines actually. I did not have Messages running so I opened it, and sure enough that showed up in console live. However the log shows a slightly different app and a totally different UUID, which seems odd.
    Anybody understand what this is all about? See below. I opened one of the endlessly repeating items plus one that I know is from the Messages app below it.
    23/03/2015 08:28:29.242 UserEventAgent[235]: com.apple.message.domain: com.apple.usage.app_activetime
    com.apple.message.signature: universalAccessAuthWarn
    com.apple.message.signature2: com.apple.accessibility.universalAccessAuthWarn ||| 1.0 (190.1)
    com.apple.message.value: 633
    com.apple.message.value2: 0
    com.apple.message.value3: 0
    com.apple.message.value4: 0
    com.apple.message.value5: 0
    com.apple.message.value6: 0
    com.apple.message.value7: 0
    com.apple.message.result: NO
    com.apple.message.summarize: YES
    Sender_Mach_UUID: 55428B1C-9198-32BF-80EA-4731081F402E
    23/03/2015 08:44:17.426 Messages[8722]: com.apple.message.domain: com.apple.iChat.app.weeklyStats
    com.apple.message.video_chat_passed: 0
    com.apple.message.video_chat_failed: 0
    com.apple.message.video_chat_noop: 0
    com.apple.message.audio_chat_passed: 0
    com.apple.message.audio_chat_failed: 0
    com.apple.message.audio_chat_noop: 0
    com.apple.message.screen_sharing_passed: 0
    com.apple.message.screen_sharing_failed: 0
    com.apple.message.screen_sharing_noop: 0
    com.apple.message.average_message_length: 0.000000
    com.apple.message.messages_sent: 0
    com.apple.message.messages_received: 0
    com.apple.message.sms_sent: 0
    com.apple.message.sms_menu_used: User never selected SMS menu
    com.apple.message.result: pass
    com.apple.message.imessage_offered_upgrades: 0
    com.apple.message.imessage_upgrades: 0
    com.apple.message.imessage_declines: 0
    com.apple.message.imessages_sent: 0
    com.apple.message.imessages_received: 0
    Sender_Mach_UUID: 212E34A8-B310-3729-8D11-879E9985A0BD
    23/03/2015 08:44:17.427 Messages[8722]: com.apple.message.domain: com.apple.iChat.app.servicesUsedThisWeek
    com.apple.message.aim: 0
    com.apple.message.bonjour: 0
    com.apple.message.yahoo: 0
    com.apple.message.jabber: 0
    com.apple.message.google_talk: 0
    com.apple.message.imessage: 1
    com.apple.message.other: 0
    com.apple.message.result: pass
    Sender_Mach_UUID: 212E34A8-B310-3729-8D11-879E9985A0BD
    23/03/2015 08:44:32.607 Messages[8722]: com.apple.message.domain: com.apple.iChat.app.prefs
    com.apple.message.one_on_one_style: com.apple.iChat.Styles.Balloons-ShowPictures
    com.apple.message.group_style: com.apple.iChat.Styles.Balloons-ShowPictures
    com.apple.message.incoming_bg_color: Automatic
    com.apple.message.outgoing_bg_color: Automatic
    com.apple.message.incoming_font: Default 12.000000
    com.apple.message.outgoing_font: Default 12.000000
    com.apple.message.save_history: Don't Save
    Sender_Mach_UUID: 212E34A8-B310-3729-8D11-879E9985A0BD

    The kernel_task is the heart of the operating system.  It will have on the order of a 100 threads (more or less).  So when you ask the operating system to do something, like read/write a disk, do network I/O, talk to your mouse/trackpad, keyboard, monitor, etc... kernel_task is the code that is going to do that at the lowest levels.
    Also if you have installed any 3rd party drivers (kernel extensions), they are going to become part of kernel_task and the CPU time they use will be part of kernel_task.
    If you have anti-malware, Mac cleaner or memory cleaner software installed, many of these packages install drivers that then try to out-guess the kernel_task and often result in slowing down the system, interfering with the normal operation of the system, or causing kernel panics.  These kinds of packages are not recommended by long term forum contributors.
    Please provide the output from EtreCheck, which will show the 3rd party additions you have installed.
    <https://discussions.apple.com/docs/DOC-6174>

  • Why does the fire fox page change, sometimes it is just an orange fire fox button and othr times it says file, edit, view History, bookmarks, tools, help? I barely learn how to run one version of the page and then it changes

    Why does the fire fox page change, sometimes it is just an orange fire fox button on the top left that opens a panel with all the things listed in it and then it sometimes has a bar across the top that says File, Edit, View, History, bookmarks, tools, Help? I barely get used to using one type of set up and then it changes to the other without me doing anything??

    [[Menu bar is missing]] and [[Preferences are not saved]] may help to you

  • Nokia N93 Focus and Focus button

    Has anyone else got problems with there Nokia focus button and zoom in and out swivel thing.
    I bought the phone 11/10/06 three days later took it to Nokia shop to have it upgraded with the new firmware as it was crashing and taking jerky video.
    All ok, All taking video ok, then things started to go wrong, the unit restarts on its own, I can not use the swivel zoom in and out button its too hard to move, I take the pictures at night and well u might as well not use the flash for all the good it does. The focus button I depress on photo mode will flash green for ages and will not focus at all. The video looks like it is stuck on high zoom and will not do anything.
    £499 I paid for this phone and for a phone thats a lot of cash to pay for just that A PHONE!!!
    Im not saying that it should be the bees n eee of phones, but why for a new phone is it failing and even let out on the market with faults??
    The place where I got it from is not even answering the phone or emails I am sending to get it sorted, even the Nokia Shop where I took it to get it f/w uploaded told me to send it back to where I got it from in the 1st place next time.
    So Nokia, if your listening, help me out here?
    So far since I got this phone.
    Bad software version so new phone could not use as it suggested.
    Bad after sales service from your Nokia center.
    And now a camera phone which has turned into a hmmm Phone...
    Happy? not...
    All I can say is I hope your N95 is better and tested before you send it out to the public.

    Well here we are, I took my phone to the shop, they told me after a week it went to germany for the phone to be diceted(spelt right? hmm) anyway, I went on holiday to aus for three weeks without a phone, thanks nokia!! came back, and just my phone was ready, I got a friend to pick it up as while I was away my dad died. Family could not reach me as no telephone. I check it out and use it, v 10.0.025 12-07-06 RM-55 N93 (52.01) Bluetooth can not turn up the volume while in a call. Pics grainy Batt power will not even last a night, I got to sleep with a fully charged phone and wake and its dead. Strange how the nokia shop said nokia have sent me a new phone. Choices choices, Local paper will def hear abotu hwo **bleep** your company is with support and pushing out faulty phones and def will be talking to consumerwatch, you will be hearing from me later, just **bleep**. And yes im angry. Not happy at all with the responces, example, please accept out appoligies, and can you take it to your nerest nokia shop for an upgrade or repair. Jeesh, I have had this phone since october and I have only had it with me for three weeks out of that lot, you nokia have had it, shall I just give you £500 and not have a phone as thats what it feels like. Its supposed to work, I dont buy a car without wheels do I? I buy a phone which should work. All other readers dont waste your time with this phone or nokia as the support if poor and well the phone is not worth it.. Oh also for your updater software, if ver 11 or ver 20 odd is out, why does the software say there is no new software for my phone? Another waste of harddisk space on my computer.
    EDIT: removed expletivesMessage Edited by damocles on 22-Dec-2006
    09:30 AM

  • When closing Firefox (v:3.6.13), using the red "close" button, the firefox.exe process remaines at top of the "Windows Task Manager" window and continues to use the majority of CPU time.

    After an attempt to close the Mozilla Firefox page, on every occasion, the firefox.exe process is found at the top of the list when ordering the listed 'processes' by CPU time... even though the web page is gone.
    If an attempt is made to restart Mozilla, the system declares that the current Mozilla process should be closed.
    If the firefox.exe process is explicitly closed in the Task Manager, only then can Firefox be restarted.

    Does that also happen if you use File > Exit Firefox?
    See also "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * [[Firefox hangs]]

  • Firefox is using large amounts of CPU time and disk access, and I need to know how to shut down most of this so I can actually use the browser.

    Firefox is a very busy piece of software. It's using large amounts of CPU time and disk access. It puts my usage at low priority, so I have to wait for some time to be able to use my pointer or keyboard. I don't know what it uses all that CPU and disk access time for, but it's of no use to me. It often takes off with massive use of resources when I'm not doing anything, and I may not have use of my pointer for several minutes. How can I shut down most of this so I can use the browser to get my work done. I just want to use the web site access part of the software, and drop all the extra. I don't want Firefox to be able to recover after a crash. I just want to browse with a minimum of interference from Firefox. I would think that this is the most commonly asked question.

    Firefox consumes a lot of CPU resources
    * https://support.mozilla.com/en-US/kb/Firefox%20consumes%20a%20lot%20of%20CPU%20resources
    High memory usage
    * https://support.mozilla.com/en-US/kb/High%20memory%20usage
    Check and tell if its working.

  • My mac froze in an application so I shut it down by powering off with button, now when I try to turn it on I have a grey screen with Apple loge and the timer swirling but it doesn't get past this, please help!

    I Shut down my Mac by holding in the power button after my iMac froze and now when I try to turn it back it on all I get is the grey screen with Apple loge and the timer and doesn't get any further.  I have tried the diagnostic test but nothing was found.

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    To restart an unresponsive computer, press and hold the power button for a few seconds until the power shuts off, then release, wait a few more seconds, and press it again briefly.
    Step 1
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
    a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later.
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a startup failure can be resolved by resetting the NVRAM.
    Step 4
    If a desktop Mac hangs at a plain gray screen with a movable cursor, the keyboard may not be recognized. Press and hold the button on the side of an Apple wireless keyboard to make it discoverable. If need be, replace or recharge the batteries. If you're using a USB keyboard connected to a hub, connect it to a built-in port.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to start up, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can start up now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've started from an external storage device, make sure that the internal startup volume is selected in the Startup Disk pane of System Preferences.
    Start up in safe mode. Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to start and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know the login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you start up in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, the startup volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 11. If you ever have another problem with the drive, replace it immediately.
    If you can start and log in in safe mode, empty the Trash, and then open the Finder Info window on the startup volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then restart as usual (i.e., not in safe mode.)
    If the startup process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select the startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then restart as usual.
    Step 9
    If the startup device is an aftermarket SSD, it may need a firmware update and/or a forced "garbage collection." Instructions for doing this with a Crucial-branded SSD were posted here. Some of those instructions may apply to other brands of SSD, but you should check with the vendor's tech support.  
    Step 10
    Reinstall the OS. If the Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 11
    Do as in Step 9, but this time erase the startup volume in Disk Utility before installing. The system should automatically restart into the Setup Assistant. Follow the prompts to transfer the data from a Time Machine or other backup.
    Step 12
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a startup failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 13
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

  • The display on my iPod is extra large and I am have no idea why.  I tried the HOME button and the power button at the same time but that doesn't work.  I can't even enter my code to unlock it because I cannot scroll the HUGE display!  Any ideas??

    The display on my iPod Touch is HUGE and I have no idea why.  I tried the HOME button and power button at the same time.....no help.  I cannot enter my unlock code because I can't scroll without entering a wrong number!  HELP!!

    Using three fingers, double-tap the screen.
    http://support.apple.com/kb/TS3129

  • Mail in 10.6.4 not usable: it consumes all CPU time and will not quit

    Mail application does not work properly.
    It eats up most of the available CPU time (till >300% on my machine), becomes unresponsive and will only quit when killed by a force quit in the Activity Monitor.
    I have only two accounts set up. One Gmail account and a google apps one.
    I used to synch with a Blackberry but now I synch directly through google apps.
    The problem was sporadic at best at first but has become the usual behaviour now. Major change has been installing 10.6.4
    I have switched to Thunderbird since Mail is not usable.
    Tx for any hint on how to solve this issue

    It seems to be a recurring issue with 10.6.4...there's probably not much mere mortals like us can do. I haven't found a solution. Try re-installing 10.6.4.

  • I have iTunes 10.4 and every time I open it my CPU usage hits 100%.  How do I stop this?

    I have iTunes 10.4 and every time I open it my CPU usage hits 100%.  This makes my computer really slow and almost unusable.  How do I stop this?  Another effect is that I cannot log onto the iTunes Store.  I click on it and it says it is loading the iTunes store but the window remains blank.

    So do I!

  • IPhone 4s looks shut down all the time.especially when the 3g is on.in the forums its said to push the use button and the power button at the same time.the people calling me cannot reach at my phone.what should i do ?

    my phone looks like offline all the time.its all about me to notice that its offline.then i have to push the main button and the power button together to open it.then the apple sign comes on the screen and the phone turns online.but i cannot receive the information of who called me at the time that my iphone 4s turned offline by itself.i cannot receive messages at all.what can i do now ? i sent the phone to the service and they just told me that they installed the current version.but i guess nothing happened.its doing the same thing again.i cannot use my iphone.
    From Turkiye.

    I've tried all those.But nothing works.The phone seems to be shut down.But it is not.When i get it out of my pocket, for example to call someone, i touch to main button but nothing happens.I solve it by pushing the power button and the main button together just for a couple of seconds, as its said so in the forums.
    also, people told me that they were calling me, my phone was ringing but i didnt answer?...i checked it for millions of times, it seems to be shut down, but its normally not.then i push the buttons together and the apple sign comes on the screen.it searches for the network.and it works.
    but i do not see any calls, texts anything.but for the others, they say my phone seems to be workin.
    I thought it was 'cause of the 3G is switched on but when I turn 3G off, it does the same thing.it seems to be offline all the time.

  • Does anyone know how to select text in Appleworks, click on the font button and then be able to scroll thru all the font so that one can see the text change as you scroll down the list, at present  I have to do it one font style at a time and then repeat

    does anyone know how to view text in Appleworks, to be able to click on the font button and then be able to scroll thru all the font so that one can see it change as you scroll down the list, at present  I have to do it one font style at a time and then repeat? Thanks jl

    Welcome to the Apple forums
    Your question really belongs in the AppleWorks community/forum.
    You can turn on fonts in actual type in the AppleWorks preferences.

  • HT201263 When my Ipod touch is in autolock I can only restart the device holding the sleep/wake button and home button at the same time for 10 seconds.  While in auto-lock it is using battery power and will do so until the battery is drained.  Whats wrong

    When my Ipod touch is in autolock I can only restart the device holding the sleep/wake button and home button at the same time for 10 seconds.  While in auto-lock it is using battery power and will do so until the battery is drained.  Whats wrong?

    - Try a reset. Nothing is lost:
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears
    - Connect the iPod to your computer and try to restore via iTunes. Try placing in Recovery mode if necessary to restore.
    - If you can't turn the iPod completely off, let the batter fully drain. After charging for at lerast anhour try again
    - If still not successful time for an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.

  • I had my iphone 5 replaced at the apple store as of a broken sleep button and i was wondering if they would replace again as i think it may of happend again as it works most of the time but theres an odd click where it wont work.

    I had my iphone 5 replaced at the apple store as of a broken sleep button and i was wondering if they would replace again as i think it may of happend again as it works most of the time but theres an odd click where it wont work.

    Yes.

  • My gradson got ahold of my grandaughters IPod touch and I no longer have a settings button.  The time and date on this is wrong.  How can I fix this problem.

    I need help...  I no longer have all of the buttons on my IPod touch screen.  My grandson got a hold of it and boom..  The time and date is wrong also, and I have no access to fix this problem.  There is no settings button.
    Any help would be appreciated.

    Assuming that by buttons your mean the icons for various apps are missing, use the Spotlight search feature (double click the Home button and go all the way to the left past the music controls) and search for: Settings. Go to Settings>General>Reset>Reset Screen layout and also correct the time inthe Genera settings.
    The Setting app can't be deleted or hidden via Restrictions.

Maybe you are looking for

  • XML-IDOC inbound for ECC 6.0

    Hi, in a ECC 6.0 only landscape we would like to process XML-IDOC in inbound. For outbound we have already create a XML-IDOC port... but I don't be able to find it for inbound. How can I do it ? Regards. Ganimede Dignan.

  • Want to learn BSP

    Hi all, I am into ABAP programming now . I am just planning to learn BSP . I want to know what are the contents of BSP . If I have to say in ABAP we have different sections like REports, Forms, Data Uploads, Cross applications, User exits badis and B

  • Can't install Adobe Presenter 8 Trial version

    Hello, I am trying to install A trial of Adobe presenter 8 and once i have signed in i get the following error occur at 2% Exit Code: 21 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW021 ... ---------------

  • Iphone freezes on restore

    I'm trying to restore my iphone and it keeps freezing during the restore process at around 60%. I get the apple logo and then the progress bar stops a little over half way. The progress bar in itunes freezes at around 99%. Can anyone help me get this

  • Purchased music has vanished!

    I am using the latest build of iTunes with Vista. About 2 months ago I purchased a couple songs that vanished. The folder is there in the iTunes folder, but the song file is gone. And of course iTunes can not find it. It is listed with an ! next to i