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.
Code generated by the GUI Builder should compile without warnings, so it should take the project Java version into consideration. For example: stringList = new javax.swing.JList<String>(); Leads to an IDE compiler warning "redundant type arguments in new expression (use diamond operator instead)".
new javax.swing.JList<String>() should be fixed as part of bug 227943. *** This bug has been marked as a duplicate of bug 227943 ***