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.
I was trying to delete a method that was added automagically but that I don't really want. As you can see from the log, I've retried this several times and can't get it deleted.
Created attachment 2088 [details] ide.log from netbeans 3.2
java's module issue
Is the method, you are trying to remove, in guarded block (blue background in editor)?
Comment from Ross: Yes. It was a method created automagically by NB, related to some swing event (I forget which). I eventually found the way to delete it was to remove it in the property editor.
Fixed in dev-trunk: changed severity of the provided message so it displays as an ordinary error message rather than exception. The code itself, however, cannot be deleted since it is protected from user modifications. If it was an event handler, you need to ask the Form Designer to remove it for you.
[220109190100] Verified
Resolved for 3.4.x or earlier, no new info since then -> closing.