Slow file dialog in Netbeans (and other Java apps) ...and the amazing solution

The opening of the file dialogs of most of my Java apps (excluded JEdit, Eclipse) became really slow (10 seconds). I supposed the network-drives, virus-scanners etc. to cause the problem. It turned out, that Jars/Zips at the desktop (on windows...), cause the slow-down. After cleaning my desktop, netbeans 5.5/6 and other Java apps became fast again.

Like in real life, mess on a desktop slows down the performance...

[Thanks michael bien for the solution, I asked many people at workshops, projects, conferences, but my young brother knew the solution :-)]


hi there,

I knew that junk on windows desktop(which I'm prone to once in a while) can make repainting and other stuff slow but did not know that FILE dialogs get slowed down.

nice tip.


Posted by anjan bacchu on July 29, 2007 at 08:08 PM CEST #

Actually, it is jdk6u2 problem.

Posted by Qil.Wong on July 30, 2007 at 07:19 AM CEST #

Actually, it is jdk6u2 problem.

Posted by Qil Wong on July 30, 2007 at 07:20 AM CEST #


really? I think I had it before jdk16u2.
Do you have any reference?

thanks for the comment

Posted by Adam Bien on July 30, 2007 at 10:55 AM CEST #


Posted by Thomas Hart on July 30, 2007 at 03:40 PM CEST #

Thank you thomas,

btw. comes the domain-name kleinmantara from a MTB brand? If yes, my domain should be :-),



Posted by Adam Bien on July 30, 2007 at 03:57 PM CEST #

Hi Adam, yes you can see it here

Posted by Thomas Hart on July 30, 2007 at 04:07 PM CEST #

Five years later, for anyone googling for this issue, I found a possible solution.
My web host cpanel has a tool to access my remote host's folder through an icon on my Windows 7 desktop. Opening the file properties for that shortcut it shows something like: \\\DavWWWRoot
Trying to open a file in NetBeans was a pain, I had to wait like 30-45 seconds until the dialog popped up.
I deleted that icon and now it opens immediately as expected.
I found that using SysInternals ProcMon system monitoring tool.
NetBeans process stopped for a while trying to seek this file.

Posted by Ivan Ferrer on April 03, 2013 at 03:45 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments