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: | fire* methods' parameter type should be FQN | ||
---|---|---|---|
Product: | java | Reporter: | Jan Becicka <jbecicka> |
Component: | Beans | Assignee: | issues@java <issues> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | mihmax |
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jan Becicka
2002-07-24 10:52:16 UTC
It looks like "Pass Event as Parameter" does not work at all. Event is always passed regardless of checkbox state. I am sorry, but it works for me on 20020813 dev build. Please reopen with more detailed explanation, how to reproduce it. Thanks. 1. Add Unicast Event Source 2. Type "java.awt.event.ActionListener", Generate Implementation, Generate Event Firing Methods, but do not Pass Event as Parameter 3. private void fireActionListenerActionPerformed (java.awt.event.ActionEvent event) is generated, but I don't want to Pass Event as Parameter. There are two bugs regarding "events" in this report. The second one is: 1. Add Multicast Event Source 2. Type: java.awt.event.ActionListener, Generate ArrayList Implementation, Generate Event Firing Methods, Pass Event as Parameter. 4. private void fireActionListenerActionPerformed(ActionEvent event) is generated. But event's type should be FQN, not just ActionEvent. Ok, found it. This bug is caused by mounting of JDK sources by editor. In this case Identifier-s are taken from source files and they are not fully qualified. Fixed in trunk. Verified in 200210090100 For the records - it is src/org/netbeans/modules/beans/BeanPatternGenerator.java 1.19->1.20 Hi. This issue is marked as 3.4.1_CANDIDATE. It means that it should be integrated into release341 one branch. The plan at http://www.netbeans.org/devhome/docs/releases/34/index.html expected beta1 to be produced on Dec01. That did not happen due to a lot of outstanding not integrated candidates like this one. Would it be possible to spend few minutes by backporting this fix? Thank you in advance. Merged into r-3.4.1: trun/cvs/beans/src/org/netbeans/modules/beans/BeanPatternGenerator.java,v <-- BeanPatternGenerator.java new revision: 1.19.84.1; previous revision: 1.19 Resolved for 3.3.x or earlier, no new info since then -> closing. |