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.
I want to add a JDialog to my 'Other components'. Using 'Add from Palette -> Swing' a menu appears with a scrollbar, the JDialog entry hidden, of course (because it is at the end of the list). When I now try to scroll to the end of the list, the menu disappears immediately when I'm pressing the left mouse-button over the scrollbar. However, as JDialog cannot be added to another swing component, I can get the effect by trying to add a JDialog to the existing form using the component palette: instead of being added (as this is impossible), the JDialog component goes to the 'Other components'. Nevertheless, this is a bug and should be fixed as soon as possible. BTW: I'm using w2k with NB4.0dev (8th Aug.), screen resolution is 1024 x 768.
I am sorry I am not able to reproduce this issue exactly. I am able to scroll the content of the popup menu using scrollbar, but I agree that there is an issue if the mouse cursor is over some menu item (e.g. not over the scrollbar and not outside the popup menu) when the scrolling is finished. In such a case the popup menu disappears as soon as you move the cursor away from this menu item.
I'll download most recent JDK 5 beta, probably it's a JDK issue.
My previous comment applies to JDK 1.4.2. I tried it again with JDK 5.0 and I was able to reproduce the described behaviour.
Which build? I'm currently downloading build 60 - does it make sense?
I was able to reproduced it in 1.5.0-beta3-b60.
Could You file a bug against the JDK, please? I'd suppose to set priority at least to P2 - if someone needs the last item of such a menu, the menu would be unusable. After this I'd propose to close this bug, as it is not an NB bug, but a JDK one.
The implementation of the popup menu changed in JDK 5.0 => The implementation of the scrollable popup menu was modified. It should work by now.
Is there a bug filled against JDK1.5? Which one?
verified