Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
12.1
-
None
-
None
-
Product Version: Apache NetBeans IDE 12.1
Java: 13.0.1; Eclipse OpenJ9 VM openj9-0.17.0
Runtime: OpenJDK Runtime Environment 13.0.1+9
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
Description
When using the form builder to generate an event listener method, the only option is the creation of
private listener methods:
private void handleWindowClosing(java.awt.event.WindowEvent evt) { // TODO add your handling code here: }
At least generate the method signature using "protected" modifier to allow for inheritance/override:
protected void handleWindowClosing(java.awt.event.WindowEvent evt) { // TODO add your handling code here: }
Reported previously here: https://bz.apache.org/netbeans/show_bug.cgi?id=88254