On win32, if you chain modal dialogs:
i.e.
bring up modal dialog1
push button on dialog1 to bring up modal dialog2
push button on dialog2 to hide dialog2
push button on dialog1 to hide it....this will fail...calling hide()
doesn't seem to work.
Note that hiding dialog1 will work UNTIL dialog2 is shown and hidden,
at which time dialog2 can no longer be hidden.
This is reproducible on winNT, JDK1.1beta3.
See test case in: /home/aim/Java/Test/Bugs/DialogChain
cd /home/aim/Java/Test/Bugs/DialogChain
appletviewer TestDialog.html
push button to bringup dialog2
push "hide" button to hide dialog2
push button to bring back up dialog2
push button to bring up dialog3
push button to hide dialog3
push button to hide dialog2...it won't go away!
i.e.
bring up modal dialog1
push button on dialog1 to bring up modal dialog2
push button on dialog2 to hide dialog2
push button on dialog1 to hide it....this will fail...calling hide()
doesn't seem to work.
Note that hiding dialog1 will work UNTIL dialog2 is shown and hidden,
at which time dialog2 can no longer be hidden.
This is reproducible on winNT, JDK1.1beta3.
See test case in: /home/aim/Java/Test/Bugs/DialogChain
cd /home/aim/Java/Test/Bugs/DialogChain
appletviewer TestDialog.html
push button to bringup dialog2
push "hide" button to hide dialog2
push button to bring back up dialog2
push button to bring up dialog3
push button to hide dialog3
push button to hide dialog2...it won't go away!
- duplicates
-
JDK-4025973 can't hide modal dialog
- Closed
-
JDK-4026181 Dialog, problem with hide method
- Closed
-
JDK-4025271 dialog opened from another dialog disables to close original one
- Closed