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.
Product Version: NetBeans IDE Dev (Build 070814) Java: 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03 System: SunOS version 5.10 running on sparc; ISO646-US; en (nb) Description: ============ in JDA project. have set resource management as All Resources 1. insert e.g. button in frame 2. invoke custom editor for name properti of jButton 3. check Define as resources and confirm it code in form class is generated correctly: jButton1.setName(resourceMap.getString("jButton1.name")); // NOI18N but no key "jButton1.name" with value is in appropriate resource bundle
Fixed. The name is used as part of the key for resources, so it is not typically localized. So I've also made the resource panel hidden for name property if component auto-naming is turned on. /cvs/form/src/org/netbeans/modules/form/ResourceSupport.java new revision: 1.13; previous revision: 1.12
verified on Product Version: NetBeans IDE Dev (Build 20071030050536) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)