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.
Using NB daily from 20170323, running on JDK8, Multimodule project and JavaSE Project platform is JDK9 EA b158, source level JDK9. Add Form into module under MM Project module-info.java is updated with requires swing.layout following modules should be also automatically added as they are required by Form templates: 1. java.desktop 2. java.logging
Sample decorator implementation in issue #270167 actually solves this bug; waiting for API review.
Fixed in jet-main#4afe19221888
Integrated into 'main-silver', will be available in build *201704020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e06dc7f650ee User: Svata Dedic <sdedic@netbeans.org> Log: #270179: required modules automatically declared when creating from template