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 112740 - RES: name property is not localized
Summary: RES: name property is not localized
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-14 13:33 UTC by Jana Maleckova
Modified: 2007-10-30 15:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2007-08-14 13:33:37 UTC
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
Comment 1 Tomas Pavek 2007-08-21 12:33:17 UTC
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
Comment 2 Jana Maleckova 2007-10-30 15:37:48 UTC
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)