This is part of the sample project's configuration.
See ${nb-install}/java/modules/org-netbeans-modules-java-examples.jar
-> org/netbeans/modules/java/examples/anagrams.zip
-> nbproject/project.properties:
javac.source=1.6
javac.target=1.6
"New project" just creates a copy of the sample project,
When creating the Java sample projects "Anagram Game" or "GUI Form
Examples" under either JDK8 or JDK10, the source level is set to JDK6.
Shouldn't it default to the level of the JDK you're running under? Is it
a bug?
--
Glenn Holmer (Linux registered user #16682)
"After the vintage season came