dca00 opened a new issue, #9681: URL: https://github.com/apache/netbeans/issues/9681
### Apache NetBeans version Apache NetBeans 31 ### What happened When a method is added by the Swing designer, it is placed before the generated variables section at the end of the form unit. When a method is generated by the 'Create method...' refactor suggestion, it is placed after that section. ### Language / Project Type / NetBeans Component Java ### How to reproduce Create a Java project Add a JFrame form Add a button control Double-click the button The event action method will be placed before either the mainForm() method or before the // Variables... comment In that method, add another handler to the same button control Hit Alt-Enter Choose 'Create method...' suggestion The method will be added after the closing // Variables... comment before the closing curly brace of the class ### Did this work correctly in an earlier version? No / Don't know ### Operating System Any ### JDK Any ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else _No response_ ### Are you willing to submit a pull request? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
