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 - [floating] Choice between JDialog and JFrame for floating window container
Summary: [floating] Choice between JDialog and JFrame for floating window container
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks: 134670
  Show dependency tree
 
Reported: 2006-08-07 15:54 UTC by stighd
Modified: 2010-08-11 13:29 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. :)