Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JFileChooser hangs sometimes

I am running into the problem of the "hanging JFileChooser" as described in the following threads:

http://forums.sun.com/thread.jspa?threadID=5309960

http://forums.sun.com/thread.jspa?threadID=724817

http://x86.sun.com/thread.jspa?threadID=5275999&messageID=10156541

I am using JVM 1.6.0_07-b06. It happens on Windows XP as well as on Windows Vista.

Has anybody found a workaround for this yet?

like image 531
dkp Avatar asked Nov 20 '08 10:11

dkp


2 Answers

There's a bug where if you a networked drive mapped on the desktop, it can sometimes hang on the JFileChooser. That or it might be a shortcut to a networked drive. Something along those lines...

like image 66
Stephane Grenier Avatar answered Oct 18 '22 11:10

Stephane Grenier


I've run into this myself and the updates didn't help. Strangely enough, removing all zip files (particularly large ones) from my desktop (JFileChooser's default location) solved the issue.

like image 33
Brendan Cashman Avatar answered Oct 18 '22 10:10

Brendan Cashman