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.

Bug 167630

Summary: 'Insert Code...' should create default listeners
Product: java Reporter: kitfox <kitfox>
Component: SourceAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description kitfox 2009-06-25 01:29:48 UTC
It would be very helpful to add an option to the Editor window's 'Insert Code...' feature that sets up a listener.  The
user would be able to choose 'add listener', input the name of an interface which extends EventListener and then have
NetBeans generate the add*Listener(), remove*Listener() and skeleton fire*() methods.  

I find I spend a lot of time setting up this code which is mostly boilerplate.