JDK-6300062 : JDialog need to support true parent-less mode
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0,6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_xp
  • CPU: generic,x86
  • Submitted: 2005-07-21
  • Updated: 2017-05-16
  • Resolved: 2005-08-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b50Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
After AWT integration of Modality changes we still have one outstanding
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

Comments
SUGGESTED FIX http://sa.sfbay.sun.com/projects/swing_data/mustang/6300062/
17-02-2006

EVALUATION Shared owner frame for JDialog and JWindow shoud be eliminated *** (#1 of 1): [ UNSAVED ] ###@###.###
25-07-2005