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.
Build 200509191800, jdk1.5.0_04 Steps: - open an attached form - use D&D to move JList over JLabel1 => components are mixed togather, one should be pushed aside
Created attachment 24972 [details] CFrame.form
Created attachment 24974 [details] CFrame.java
Reproducible in the build 200510100858
This is rather complicated case, and not very common. Targeting for fututre...
In this issue, I think it does not make much sense trying to "fix" what happens when the JList is moved over the labels. It's hard to imagine what the user might want to happen. But there are two other things in this form that should be checked/fixed: (1) When the JList is moved left of the labels, it resizes vertically to the full height of the form. (2) When the JList is moved below the labels (just below jLabel6), it shrinks to zero height (the height stays zero even after undo). Both issues seems to be related to the "FILL" attribute used to make the list height accommodating the vertical group size. If the attribute is eliminated first, then it behaves fine. (Can be eliminated by pressing the vertical resizability button in toolbar twice and then unchecking "Vertical Resizable" property in layout properties.)
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team
Still valid. The test case is to move JList left of the labels, top aligned with label1. It incorrectly grows over the whole form height.
(In reply to comment #7) > Still valid. The test case is to move JList left of the labels, top aligned > with label1. It incorrectly grows over the whole form height. This part of this bug seems to be fixed. But if you really move JList over JLabels, sometimes NullPointerException is thrown. (Log in attachment). But I agree with Tomas, that this is very uncommon usecase and "It's hard to imagine what the user might want to happen". So please, is there anybody, who should review the log?I think that, if this NullPointerException is the only problem, we can close this bug as fixed.
Created attachment 111419 [details] log file
(In reply to comment #8) > So please, is there anybody, who should review the log?I think that, if this > NullPointerException is the only problem, we can close this bug as fixed. I don't see any relation between the mentioned exception (NPE in PasswordProviderSelector) and GUI Builder. It seems to be some problem related to module system/OSGI support. Hence, I am closing this issue as fixed (as you suggested).
see bug 201519 - for NPE marking as verified (per Adam's comment)