This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 96321

Summary: Need to be able to dock or undock into Dialogs
Product: platform Reporter: _ wadechandler <wadechandler>
Component: Window SystemAssignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker CC: geertjan
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 96323    

Description _ wadechandler 2007-02-22 15:48:50 UTC
Currently the undock feature will only undock into a JFrame.  This needs to be
able to undock into a JDialog or a Dialog as well.  It is typical within
applications such as Flash, Photoshop, and other applications including
OpenOffice for tool/toolbox windows be floating dialogs.  We need this in the
Platform to help developers build better applications easier and faster.  For an
example in the way these differences work please see my wiki entry:
http://wiki.netbeans.org/wiki/view/NBDTRAD
specifically the file:
http://wiki.netbeans.org/wiki/attach/NBDTRAD/DialogVWindowTest.zip

This is a simple example of a JDialog versus a JFrame when viewed over the
application.  Notice the JDialog stays on top of the frame instead of being
hidden behind it like the JFrame (Window button).  For examples of why this is
handy please open OpenOffice and bring up the styles window.  This is F12.  This
will help developers build on the NB Platform and make it better because of it.

this is related to issue #42122:
http://www.netbeans.org/issues/show_bug.cgi?id=42122
Comment 1 _ wadechandler 2007-02-22 15:53:25 UTC
Added Geertjan to this issue as he was interested in when I set it up.
Comment 2 _ wadechandler 2007-02-22 16:04:34 UTC
There needs to also be a way for the default undock behavior to be set to undock
into a dialog instead of a frame.  This way docked toolbox windows will undock
appropriately.
Comment 3 _ wadechandler 2007-02-22 16:06:21 UTC
I have this set to P1 because it seriously needs to be considered prior to NB 6.
 This will be a great addition to the Platform to be able to bring on other
developers of other types of applications.  I have seen multiple emails in
nbusers about this exact issue.