Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Java Aqua Look and Feel

Radar #4400344

JFileChooser deadlock

Description:

Showing a JFileChooser from a non-event dispatch thread caused a deadlock.

Resolution:

When a JFileChooser is called from a non-event dispatch thread, the call is redirected to the proper thread.

Note: Calling a JFileChooser from a non-event dispatch thread is thread unsafe and is advised against by Sun guidelines. This circumstance is taken into account in J2SE Release 4 since it is very common. Despite this, it is recommended that you originate calls to a JFileChooser on an event dispatch thread.



< Previous PageNext Page > Hide TOC


Last updated: 2006-05-23




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice