-
Bug
-
Resolution: Fixed
-
P3
-
5.0, 6
-
b50
-
generic, x86
-
generic, windows_xp
problem not solved. It is related to Swing dialogs. Right now JDialog
allows for creation of dialogs with null parent, by providing hidden
shared owner frame as the parent to this dialogs internally. If such a
dialog is then made DOCUMENT_MODAL it will block all other such dialogs,
since they belong to one document rooted at shared owner frame. In
contrast, DOCUMENT_MODAL AWT dialog without parent will block no one
since it will be the root of its own document (this is mentioned in the
specification).
This behavior significantly differs from AWT behavior where dialogs with
null parent are more like frames. For Swing, this also limits the usage
of new API since now we allow and support parentless dialogs in AWT, but
not in Swing. For instance, in AWT, dialog without owner will show on
taskbar, while Swing dialog will not.
Swing JDialog needs to be modified to make use of new modality API.
Two things require modification:
- specification for JDialog constructors
- implementation
For convenience, we already have some diffs that we can provide.
###@###.### 2005-07-21 15:32:26 GMT
- duplicates
-
JDK-4988884 Can't open functional modeless dialogs when a modal dialpg is displayed
- Closed
-
JDK-6291601 Uncler description for JDialog(Dialog) constructor if Dialog is null
- Closed
- relates to
-
JDK-6386592 REGRESSION: Frame doesn't get focus back when dialog become closed
- Resolved
-
JDK-6302514 XToolkit: Toolkit modal dialog getting blocked by Page/Print dialog
- Closed
-
JDK-6322433 REGRESSION: JDialog and JWindow throw IAE in headless mode
- Closed
-
JDK-6338269 Regression: NPE with JOptionPane.getRootFrame()
- Resolved
-
JDK-6322270 parent-less dialogs cannot be found, automation blocker
- Closed
-
JDK-6333260 Regression: javax/swing/SwingUtilities/4859570/bug4859570.java fails
- Closed
-
JDK-6338130 Modal Jdialog without owner is not in Window List
- Closed
-
JDK-5048370 Disposing of Modal Dialogs can cause them to lose their Modality
- Closed