Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
1.2.2, 7
-
b112
-
generic
-
generic
-
Verified
Description
1. On EDT, we start a nested message pump so the application doesn't get frozen.
2. On any other thread, we just wait on AWT TreeLock.
However, all the code behind this feature is package private, see Dialog.show() for details. Many external developers, as well as internal projects like Swing and Java Plugin, need this functionality: stop the current thread until a certain condition is met - both for EDT and non-EDT threads.
Attachments
Issue Links
- duplicates
-
JDK-4300198 Framework to handle synchronous long operations with busy feedback
-
- Closed
-
- relates to
-
JDK-6424157 java.awt.EventQueue push/pop might cause threading issues
-
- Resolved
-
-
JDK-6982348 Deadlock with combined use of EDT and CountDownLatch
-
- Resolved
-
-
JDK-6980209 Make tracking SecondaryLoop.enter/exit methods easier
-
- Resolved
-
-
JDK-6809570 Certificate prompt totally lock up when a webstart apps connect via SSL
-
- Closed
-
-
JDK-6987896 Modal dialogs resumes the calling thread before it's hidden
-
- Closed
-
-
JDK-8038637 Refactor JOptionPane modal internal dialog code
-
- Open
-