Adam Bien's Weblog
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 :-)]
Posted at 04:49PM Jul 29, 2007 by Adam Bien in Java / JEE / Architecture | Comments[7] | Views/Hits: 1885
*NEW* Workshop: "Real World Java EE 6/7 Bootstrap" and book: Real World Java EE Night Hacks--Dissecting the Business Tier Tweet Follow @AdamBien



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.
BR,
~A
Posted by anjan bacchu on July 29, 2007 at 06:08 PM CEST #
Actually, it is jdk6u2 problem.
Posted by Qil.Wong on July 30, 2007 at 05:19 AM CEST #
Actually, it is jdk6u2 problem.
Posted by Qil Wong on July 30, 2007 at 05:20 AM CEST #
Qil,
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 08:55 AM CEST #
see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5050516
Posted by Thomas Hart on July 30, 2007 at 01:40 PM CEST #
Thank you thomas,
btw. comes the domain-name kleinmantara from a MTB brand? If yes, my domain should be kleinattitude.de :-),
regards,
adam
Posted by Adam Bien on July 30, 2007 at 01:57 PM CEST #
Hi Adam, yes you can see it here http://gmt-biker.de/2007/07/30/klein-mantra-foto/
Posted by Thomas Hart on July 30, 2007 at 02:07 PM CEST #