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.
|Summary:||'Insert Code...' should create default listeners|
|Component:||Source||Assignee:||Svata Dedic <sdedic>|
|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.