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:
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)
User: Svata Dedic <email@example.com>
Log: #270179: required modules automatically declared when creating from template