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.
With Java 8 we can use Lambda expression instead of anonymous inner classes. Listener generation should provide this since in a guarded block it is not possible to change using the hints actions.
Perhaps an option to use lamda expressions could be included in Options/Java/ Gui Builder in the 'Listener generatin style' options. If this option is not selected, then the genereated code should include "Convert2Lambda" in @SuppressWarnings().
*** Bug 254925 has been marked as a duplicate of this bug. ***