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.
NB M8 build 1. Add a dropdown component(or other components, such as listbox, button that has event handler) 2. Right click at dropdown or select context menu Edit Event Handler=>processValueChange Handler. -- Jave Editor is open, the cursor is at the beginning of the line of method definition: public void dropDown1_processValueChange(...){ It is expected to be in the first line of method body.
Retouche TreeMaker API ignores comments and whitespaces when the body is empty(#103623), because of which we cannot calculate the right place for cursor. This can be fixed correctly only when the underlying issue is fixed in API - TreeMaker.Method(..., String body,....)
Since not much can be done until 103623 is fixed, closing it as duplicate of it *** This issue has been marked as a duplicate of 103623 ***