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.
NetBeans build 201401300001 JDK 7u40 I was busy with test 4.1 in [1] when this occurred. I don't know whether GUI builder is quite the right component to log this against, so please reassign if necessary? I created a NetBeans Module project (Ant-based), and created a TopComponent (window) inside the project. I added a panel with some GUI controls and set the layout of the panel to Absolute Layout as the test required. Then I noticed that additional module dependencies were added as well, and so I tried to build the module. It would no longer build because it now depended on the Form Editor (org.netbeans.modules.form) which is a module with no public packages. However, removing the dependency also removes the wrapped AbsoluteLayout jar, so removing it does not solve the problem. Please add this dependency in some other way, that doesn't break the module project? [1] http://services.netbeans.org/synergy/client/app/index.html#/specification/207/v/2
Interesting nobody noticed this so far. AbsoluteLayout is in fact not usable for NetBeans modules, which is fine - we don't want it to be used in NetBeans, and null layout can be used instead if really needed. The test spec should be fixed not to mention AbsoluteLayout on API Support page (null layout can achieve the same for the testing purpose). The fix in GUI builder should somehow hide AbsoluteLayout if the form is from a NBM project.
(In reply to Tomas Pavek from comment #1) > Interesting nobody noticed this so far. AbsoluteLayout is in fact not usable > for NetBeans modules, which is fine - we don't want it to be used in > NetBeans, and null layout can be used instead if really needed. > > The test spec should be fixed not to mention AbsoluteLayout on API Support > page (null layout can achieve the same for the testing purpose). > > The fix in GUI builder should somehow hide AbsoluteLayout if the form is > from a NBM project. That makes sense. Agreed on both the test spec update and GUI builder fix. :)