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: | Corrupted source after adding component | ||
---|---|---|---|
Product: | usersguide | Reporter: | Milan Kubec <mkubec> |
Component: | Code | Assignee: | Petr Hrebejk <phrebejk> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jglick, mmirilovic |
Priority: | P1 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 41009 | ||
Bug Blocks: | |||
Attachments: |
before adding button
after adding button |
Description
Milan Kubec
2004-09-15 14:04:06 UTC
Created attachment 17652 [details]
before adding button
Created attachment 17653 [details]
after adding button
I was told that the problem is wrong setting of 'Listener generation Style' when creatign the example. Example must be created with default IDE setting which is 'Annonymous Inner Classes'. Please recreate the example. Issue must be fixed to beta2 = P1. P1 ??? and what if somebody had changed setting before he/she open this project ? He/She'll file another P1 ? It's Form Editor bug, not usersguide ! and definitely not P1 . Rollbacking Marian's changes (after discussion with him). We agreed that the Anagram template should be regenerated with the default value of Listener Generation Style property. It's P1 because it must be fixed into Beta2 branch ASAP (not by definition). Indeed there is bug in form editor, but it won't be fixed until next release, so it must be fixed in the example. If user changes any setting, it's his/her problem not ours, but the point is if user doesn't change anything and uses our example as base for own playing with IDE/form editor it gets screwed up completly. It will be really sad if provided example won't work in IDE. It seems that correct component is projects finally. Regenerated the forms should work now. Maybe someone should file a nice bug against form editor? Nut I'm really not sure what they could do about it. (Fixed in both trunk and beta2 branch) Checking in anagrams/src/com/toy/anagrams/ui/About.java; /cvs/usersguide/j2seexamples/anagrams/src/com/toy/anagrams/ui/About.java,v <-- About.java new revision: 1.4; previous revision: 1.3 done Checking in anagrams/src/com/toy/anagrams/ui/Anagrams.java; /cvs/usersguide/j2seexamples/anagrams/src/com/toy/anagrams/ui/Anagrams.java,v <-- Anagrams.java new revision: 1.4; previous revision: 1.3 done This issue is RESOLVED with no resolution flag. Reopening to resolve properly. Resolved fixed by phrebejk. Issue #41009 is what was referred to. Verified in pre-beta2-200409210530. Verified in custom 20041001. |