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.
On a machine with multiple displays, install NetBeans 4.1 (any app will do, so long as it uses swing menus) Start NetBeans. Drag it to the secondary display - which must be to the left of the primary display. Click on any item in the menu bar The menu pops up on the primary display, instead of next to the item in the menu bar. I've only verified this on Macintosh, but it should also fail on other platforms. This was originally filed with Apple as a bug in OS X, but they traced it back to NetBeans: From: Karl Hsu <khsu@apple.com> Date: November 3, 2005 6:07:03 PM PST To: Francois Jouaux <fjouaux@apple.com> Cc: Ted Goldstein <tgoldstein@apple.com> Subject: Re: Please verify a bug fix for NetBeans on Mac OS X This appears to be a bug in NetBeans (4.1). In org.openide.awt.JMenuPlus.setPopupMenuVisible(), there is a chunk of code that tries to calculate where the JMenu should be shown. There are 2 different codepaths, keyed off of a System Property "netbeans.popup.no_hack". By default, this value is false. If I set it to true, the menus appear in the correct location and on the correct monitor. Karl
True, it was a netbeans bug. It's already fixed. So if you want, you can download NB5.0 Beta or one of the last daily builds.
*** This issue has been marked as a duplicate of 47719 ***