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 82086

Summary: [floating] Choice between JDialog and JFrame for floating window container
Product: platform Reporter: stighd <stighd>
Component: Window SystemAssignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 134670    

Description stighd 2006-08-07 15:54:30 UTC
In daily build 200608061800 you can detach/attach windows at will, which is
_very_ nice. I'd like to file an RFE regarding the behaviour of detached
windows: A floating Output window, when moved to a different monitor, will
obscure whatever's on that monitor as long as netbeans has focus. If it was
possible to specify that the detached window should be contained in a JFrame
(like editor windows are), the focus handling would be more intuitive (from my
point of view, that is).
Comment 1 stighd 2007-01-17 14:56:18 UTC
workaround of sorts (under window xp, and possibly other platforms):
- open netbeans
- drag the Output window off the app to create a separate (JDialog) window
- exit the app while taking care that the Output window remains in focus (click
the [x] in the top right corner in the main window in WinXP)
- open WindowManager.wswmgr from the .netbeans/config/Windows2Local directory
- locate the <active-mode .../> tag, and note the content of the 'name' attribute 
- in .netbeans/config/Windows2Local/Modes, locate the corresponding .wsmode file
- open it and change <kind type="something" /> to <kind type="editor" />
- save
- cross fingers
- open netbeans
- with luck, find a detached toplevel editor JFrame containing the output window.
Comment 2 David Simonek 2007-01-17 15:21:28 UTC
:-)
Comment 3 stighd 2007-01-18 17:34:36 UTC
Of course, the _easy_ way would be to add
"-J-Dnetbeans.winsys.allow.dock.anywhere=true" to the command line, drag the
output window over to the editor area, and from there off the app. :)