title: NetBeans remove automatically generated action listener in design view
body: <p>I'm using NetBeans design view. I added an action listener to a <em>JMenuItem</em>, which I want to remove. I seem unable to do it, because the generated code is in the grey area and the IDE won't let me edit it. I can't remove it through the properties window either. What do I do?</p>