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 - 'Insert Code...' should create default listeners
Summary: 'Insert Code...' should create default listeners
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2009-06-25 01:29 UTC by kitfox
Modified: 2013-09-02 14:23 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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.