JFileChooser (again!) slow in JRE 1.6.14 on some machines, not others

I am running ImageJ (from the NIH) on several of our machines and on some machines JFileChooser is lightning fast, while others exhibit the same slowness spoken of in another JFileChooser thread that is now in a locked state. We open large image files (tif, png) located on our SAN and from the network traffic I see in Windows Task Manager while opening a folder containing the images I would guess that JFileChooser is actually opening the files (intentionally or not), not just obtaining a folder listing. It's similar to the same issue of opening a large folder of images with the view set to thumbnails - it takes about the same amount of time. I have tried the suggestions in that thread to no avail - the environment the machines are running is:
Windows XP SP3
Java JRE 1.6.0_14
Can anyone comment on what JFileChooser is doing and how I can get it to stop this? Is it a Windows environment setting so that the native API calls made by JFileChooser will behave differently? Thoughts?
Thanks,
Tom

I can't be absolutely sure, but we have several seemingly identical machines used for the purpose of reading medical images and several of them appear to work correctly (very fast loading and population of the folder's contents) and others don't. I have been using eclipse to enhance the software tool we're using (ImageJ) and using the debugger I can see that when the JFileChooser object is being instantiated and populated with entries a tremendous amount of network traffic occurs. This network traffic is equivalent to the amount I see when the same folder is opened in My Computer using a thumbnails view of the folder contents. Apparently, the network is delivering approximately 300-400 MB of images. As far as configuration of the Windows machines is concerned I haven't found a significant difference yet, though I admit I am not a Windows desktop admin and may not know of some configuration item that could be responsible. I assume (though could be mistaken) that both My Computer and JFileChooser are ultimately using similar API calls to get the folder content entries?

Similar Messages

  • Yosemite everything slow, freezing up, Help before I toss this machine in the trash!

    Ever since I upgraded to Yosemite my machine has gotten slower and slower.  At this point functioning on this machine is a train wreck.  Open an application - go get coffee, fold laundry, check...still application bouncing.
    When it finally opens every action brings the spinning beachball.
    Multiple pages while browsing the internet? Can't do it.
    Multiple applications open?  Nope
    Everything loads impossibly slow and often crashes - I spend more time Force Quitting and trying again than I do actually getting done what I set out to do.
    So far this is what I have done:
    Multiple disk utility repairs
    SMC reset
    Wiped the computer completely clean and reinstalled.
    Problem description:
    Yosemite issue.  Everything has slowed to a snails pace.  I can’t have multiple applications open.  The computer locks up, freezes, applications don’t open or freeze and I have to force quit.  Even though FileVault is OFF I can’t configure automatic log in, It’s a mess.
    EtreCheck version: 2.1.8 (121)
    Report generated February 8, 2015 at 9:58:36 AM EST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (27-inch, Mid 2010) (Technical Specifications)
        iMac - model: iMac11,3
        1 3.2 GHz Intel Core i3 CPU: 2-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1333 MHz ok
            BANK 0/DIMM1
                Empty  
            BANK 1/DIMM1
                Empty  
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        ATI Radeon HD 5750 - VRAM: 1024 MB
            iMac 2560 x 1440
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: one day 19:18:56
    Disk Information: ℹ️
        WDC WD1001FALS-40Y6A0 disk0 : (1 TB)
            EFI (disk0s1) <not mounted> : 210 MB
            Untitled (disk0s2) / : 999.35 GB (951.18 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        OPTIARC DVD RW AD-5680H 
    USB Information: ℹ️
        Logitech USB-PS/2 Optical Mouse
        Apple Inc. Built-in iSight
        Apple Computer, Inc. IR Receiver
        SMI Corporation USB DISK 1.03 GB
            NO NAME (disk1s1) /Volumes/NO NAME : 1.03 GB (13 MB free)
        Apple Internal Memory Card Reader
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Problem System Launch Daemons: ℹ️
        [failed]    com.apple.loginwindow.LFVTracer.plist [Click for details]
    User Launch Agents: ℹ️
        [loaded]    com.google.keystone.agent.plist [Click for support]
    User Login Items: ℹ️
        None
    Internet Plug-ins: ℹ️
        Default Browser: Version: 600 - SDK 10.10
        QuickTime Plugin: Version: 7.7.3
    3rd Party Preference Panes: ℹ️
        None
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
             3%    WindowServer
             0%    systemstatsd
             0%    fontd
             0%    Google Chrome
             0%    askpermissiond
    Top Processes by Memory: ℹ️
        159 MB    Google Chrome
        137 MB    installd
        112 MB    Google Chrome Helper
        107 MB    Finder
        103 MB    mds_stores
    Virtual Memory Information: ℹ️
        323 MB    Free RAM
        1.81 GB    Active RAM
        1.53 GB    Inactive RAM
        587 MB    Wired RAM
        21.77 GB    Page-ins
        84 MB    Page-outs
    Diagnostics Information: ℹ️
        Feb 7, 2015, 11:58:48 PM    /Library/Logs/DiagnosticReports/Google Chrome_2015-02-07-235848_[redacted].hang
        Feb 7, 2015, 08:20:39 AM    /Library/Logs/DiagnosticReports/LegacyFileVaultMessageTracer_2015-02-07-082039_ [redacted].crash
        Feb 6, 2015, 02:39:06 PM    Self test - passed

    crkd-rvr wrote:
    SMART came back verified
    I've tried Safe Boot and Safe Mode
    The system when I did the reinstall was better than before but has progressively gotten worse.  I had new ram which I just installed but I am not seeing an improvement.
    I might revert back to Maverick maybe things will revert to better performance.
    So the system is now at 12 GB ram:
    Problem description:
    Slow response, freezing & locking up
    EtreCheck version: 2.1.8 (121)
    Report generated February 8, 2015 at 12:04:48 PM EST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (27-inch, Mid 2010) (Technical Specifications)
        iMac - model: iMac11,3
        1 3.2 GHz Intel Core i3 CPU: 2-core
        12 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1333 MHz ok
            BANK 0/DIMM1
                2 GB DDR3 1333 MHz ok
            BANK 1/DIMM1
                2 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        ATI Radeon HD 5750 - VRAM: 1024 MB
            iMac 2560 x 1440
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:2:31
    Disk Information: ℹ️
        WDC WD1001FALS-40Y6A0 disk0 : (1 TB)
            EFI (disk0s1) <not mounted> : 210 MB
            Untitled (disk0s2) / : 999.35 GB (952.29 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        OPTIARC DVD RW AD-5680H 
    USB Information: ℹ️
        Apple Internal Memory Card Reader
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Logitech USB-PS/2 Optical Mouse
        Apple Computer, Inc. IR Receiver
        Apple Inc. Built-in iSight
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    User Launch Agents: ℹ️
       [loaded]    com.google.keystone.agent.plist [Click for support]>>>>>>>>>>>>
    User Login Items: ℹ️
        None
    Internet Plug-ins: ℹ️
        Default Browser: Version: 600 - SDK 10.10
        QuickTime Plugin: Version: 7.7.3
    3rd Party Preference Panes: ℹ️
        None
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
             2%    WindowServer
             1%    fontd
             0%    mds_stores
             0%    coreservicesd
             0%    AppleSpell
    Top Processes by Memory: ℹ️
        64 MB    Finder
        39 MB    ocspd
        39 MB    mds_stores
        39 MB    WindowServer
        39 MB    Dock
    Virtual Memory Information: ℹ️
        10.94 GB    Free RAM
        920 MB    Active RAM
        354 MB    Inactive RAM
        671 MB    Wired RAM
        775 MB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Feb 8, 2015, 11:57:19 AM    Self test - passed
        Feb 7, 2015, 11:58:48 PM    /Library/Logs/DiagnosticReports/Google Chrome_2015-02-07-235848_[redacted].hang >>>>
        Feb 7, 2015, 08:20:39 AM    /Library/Logs/DiagnosticReports/LegacyFileVaultMessageTracer_2015-02-07-082039_ [redacted].crash
    Why don't you just give it a try to uninstall it, use Firefox and see it it does not improve. If it is not it, you can always install anew your preferred browser. It is cheaper, and quicker than having a HD replaced. Plus you can do it yourself immediately.
    If it is not that, I will also support the HD theory, with one variation. Check if there was not a Firmware update for your WD HD. If I recall correctly, there was a problem and some firmware and software had to be updated. Worth a try?
    Have fun
    Leo

  • Hi, I have a macbook pro 17" 2.4ghz intel core 2 duo 2007, will upgrading to Yosemite slow me down or create problems with my Iphone or other app ?

    Hi, I have a macbook pro 17" 2.4ghz intel core 2 duo 2007, will upgrading to Yosemite slow me down or create problems with my Iphone or other app ?

    Yes, i do not suggest upgrading right now. There is some software malfunction or glitch that spontaneously shuts down this specific model. I upgraded and it was a pain to downgrade and make my mac usable again.

  • As of today, neither sample songs on the music store nor songs already downloaded will play correctly.  They are stuttery and slow.  I have iTunes 10.5 and have not downloaded any upgrades for anything recently.  They were working last night. Thoughts?

    As of today, neither sample songs on the music store nor songs already downloaded will play correctly.  They are stuttery and slow.  I have iTunes 10.5 and have not downloaded any upgrades for anything recently.  They were working last night. Thoughts or advice?

    I found a solution that worked for me.  Here is what I did and where I found it.
    "Looks like I tracked down the problem, it worked for me so I hope this works for everyone else experiencing problems.  Go to your Task Manager and locate the program APSDaemon.exe (Apple Push)..... if you see this executing terminate the program and then startup iTunes and it should come up fine.  You will see afterwards that APSDaemon.exe (Apple Push) starts back up but this is fine as long as iTunes has already started.
    I tried playing both music and syncing up my iPhone with no problems.  Note if you shutdown iTunes again you will have to terminate the process APSDaemon.exe (Apple Push) again.  Haven't had time to see what in the world Apple Push is but this appears to have corrected the problem so that you can at least use iTunes and sync any device that needs to be synced.
    Hope that helps everyone!"
    https://discussions.apple.com/message/16998456#16998456

  • Why does iTunes keep giving me bogus error messages.  "Your internet connection is not working, check your connection and try again."  My internet is working fine.  iTunes is not working and will not allow me to download tunes.

    why does iTunes keep giving me bogus error messages.  "Your internet connection is not working, check your connection and try again."  My internet is working fine.  iTunes is not working and will not allow me to download tunes.

    This my sound too simple, but I just kept clikning on the arrow next to the selected music and it finally "Kicked" in.
    I live in Europe ,So Be persistent and don't give up !  Aug. 2013

  • I need to make space on my Mac. If I copy a folder from iPhoto on to a hard drive, then delete it from iphoto then import it again, does it retain all my editing? It does not seem to retain Faces info and I have spent hours and days naming people :(

    I need to make space on my Mac. If I copy a folder from iPhoto on to a hard drive, then delete it from iphoto then import it again, does it retain all my editing? It does not seem to retain Faces info and I have spent hours and days naming people

    There is no way to export Faces information.
    I'm not sure why you would do this:
    If I copy a folder from iPhoto on to a hard drive, then delete it from iphoto then import it again,
    If space is an issue then move the whole Library to an external drive:
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • I installed Nik:s suite of plug-ins for LR5 but for some reason not all of them were installed. In the end I uninstalled all of the Nik programs from my Mac but before I reinstalled them I opened LR5 again to check. Under "photo" and "edit in" the plug-in

    I installed Nik:s suite of plug-ins for LR5 but for some reason not all of them were installed. In the end I uninstalled all of the Nik programs from my Mac but before I reinstalled them I opened LR5 again to check. Under "photo" and "edit in" the plug-ins were still presented but no programs opened, of course. after reinstalling the plug-ins one of the programs appeared twice in the list but not the others. I´m going to reinstall them again and I´m wondering if there is anyway of erasing the links to the plug-ins under "photo" and "edit in" ???

    Wow that was really quick, thank you so much.  Im not sure at all which version it was because i said it was around 4 years ago he bought it.  I know it isn't under his username, since he's a PC person (ugh) so i know its probably registered to one of our actual names.  isn't there some way to look it up since we did register it, because I'm not even sure where the disks are from when we bought it (we've moved a lot and also have two storage lockers, i know i would have kept it with other disks) but my cd rom drive is actually broken on my computer as well ( i think it got stepped on and is now squished and won't eject or run disks.)
    So is there anyway they can look up that its registered to one of our names since we did register it when we bought and installed it, or do i really have to find the disk with some sort of proof of purchase (i know there would be no receipt after all this time)
    either way, ill do what you suggested to the best of my abilities and thank you so much for answering my questions, i can't even open the program as its incompatible and find out the info from that) so I'm in a bit of a pickle and your response was so thorough and it didn't seem to be posted long enough to even write a well researched response, thanks, all the best,
    sarucia

  • Time Machine not backing up.  Very slow, essentially hanging.  I have 10.7.5 Mac OS X Lion (11G63).  I have put in all updates.  I tried to put my folders into "private" in the Spotlight (b/c I read that might be the problem).  Still not working.

    Time Machine not backing up.  Very slow, essentially hanging.  I have 10.7.5 Mac OS X Lion (11G63).  I have put in all updates.  I tried to put my folders into "private" in the Spotlight (b/c I read that might be the problem).  Still not working.
    Thanks in advance for any help! 

    For all things Time Machine see Pondini's excellent information here...
    http://pondini.org/OSX/Home.html
    Start at Troubleshooting.

  • Again me with a keyListener question, second alt press does not register

    hey, i noticed something was off with the behavior of the application i wrote, and then i checked with the KeyEventDemo.java at http://java.sun.com/docs/books/tutorial/uiswing/events/keylistener.html
    and i found out that i was correct, when pressing and releasing the Alt key it registers pressed and released, but when pressed the second time only released is registered.
    since the alt key behaves different then the rest of the keys, i'm sure there is a reason for it, can any one tell me why, or if can work around it??
    thanks,
    Adam.

    I was not trying to insult you, but more to break the ice since it felt like you were "talking down" towards me,
    camickr wrote:
    ok, its the second time you recommend to use the key binding, So why are we wasting our time having to recommend it again? You where given the link to the tutorial the other time as well.
    any good explanation as for why? a) you just found a reason
    b) thats why you read the tutorial
    I mean my application is a small 3d game a) what does small or large have to do with anything? The best design is the approach you should use.
    b) how do we know that from the question?
    Our approach is to suggest the best approach that we know. This approach may or may not be appropriate, that is why you read the tutorial and make up your own mind. Of course all Swing components use KeyBindings. Many of them like the text components or JTable will bind 20 different keys. it's not that i didn't take your advice from the first time you gave it, i read the tutorial of both keyListener and keyBinding, and browsed through the documentation of them both, but still a few things were not clear to me as to the efficiency of a wider usage of keys that's all.
    and btw I have the utmost respect to you guys and what you do, and i hope we can still get along, so thank you for your help, i'll menage from here.

  • Unable to log into FaceTime it says "the server encountered an error processing registration please try again later. Apple ID is verified ok but could not login. Please help. Thanks

    Unable to log into FaceTime it says "the server encountered an error processing registration please try again later. Apple ID is verified ok but could not login. Please help. Thanks

    I had the same problem and found the solution here:
    https://discussions.apple.com/thread/3189272

  • After the new update the FFox is now 11.0. But it's really SLOW always CRASHES and most of the time is NOT RESPONDING. I have to go to CHROME it is working perfectly.

    After the new update the FFox is now 11.0. But it's really SLOW always CRASHES and most of the time is NOT RESPONDING. I have to go to CHROME it is working perfectly.

    Hey mooshi20003,
    Have you tried starting Firefox in Safe Mode? Hold down "shift" while Firefox is starting up. If the crash doesn't happen in Safe Mode, you should read [[Troubleshooting extensions and themes]].
    There is also a lot of useful stuff in the [[Firefox crashes]] Knowledge Base article. You might also want to look at our [https://support.mozilla.org/en-US/kb/firefox-slow-or-takes-too-long-start performance troubleshooting section].
    Hopefully this helps!

  • HT201263 I tried to reset my iPhone (3gs) with deleting all data. When it power off and automatically again on then it is showing Apple logo only. Not restore and startup my phone. I tried to charge and not charging. What I should do now?

    I tried to reset my iPhone (3gs) with deleting all data. When it power off and automatically again on then it is showing Apple logo only. Not restore and startup my phone. iPhone alerming low charge and I tried to charge and not charging.
    What I should do now?

    Something has gone wrong. Turn your phone off, then force it into recovery mode:
    Leave the USB cable connected to your computer, but NOT your phone, iTunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new. In your case, select "new".

  • If the data network is not available for some time, to get it again we need to restart the phone instead it is not finding the data network instantly. why cant the iphone searches data net work offten if not available. i am totally disappointed with this!

    If the data network is not available for some time, to get it again we need to restart the phone instead it is not finding the data network instantly. why cant the iphone searches data net work offten if not available. i am totally disappointed with this!

    Still it could not find the data network.it searches for voice network instantly and works too. but even full voice network available, there is no data network.when i restart the phone it could find data network.
    Already i reset network settings for two times.

  • TS1702 Have the game "The Simpson's tapped out" on Ipad and now every time you touch a character, it jumps out, not even generating the money collected, thus having to do this over and over again! Now, look on itunes for the game itself & not there!?! Hel

    Have the game "The Simpson's tapped out" on Ipad and now every time you touch a character, it jumps out, not even generating the money collected, thus having to do this over and over again! Now, look on itunes for the game itself & not there!?! Help!

    I can not find out a way to finish this game.....Is
    there anyone can help me?You can finish the game by calling System.exit(0).
    Have you found a way to start the game?

  • In the Quicktime 7 A/V controls, how fast is the 2x playback really because it isnt twice as fast. I shot a music video on the 2x setting and when we slowed the footage down to half time, it did not line up.

    In the Quicktime 7 A/V controls, how fast is the 2x playback really because it isnt twice as fast. I shot a music video on the 2x setting and when we slowed the footage down to half time, it did not line up.

    one last thing: I'm also getting this problem here too:
    https://discussions.apple.com/thread/5324398?start=15&tstart=0

Maybe you are looking for