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 42474

Summary: nmemonics and internationalization
Product: guibuilder Reporter: swebb99 <swebb99>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED INVALID    
Severity: blocker Keywords: I18N
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description swebb99 2004-04-26 16:22:33 UTC
There doesn't seem to be a way of tying up the
nmemonic on a label with its text, so that when
the label text is changed for another language the
nmemonic can also be changed without editing the
code and recompilation. If there is a way of doing
this I'd be greatful for some assistance.

Thanks

Steve
Comment 1 Tomas Pavek 2004-04-28 10:18:57 UTC
You can set the displayedMnemonic property of JLabel using the
Internationalized Mnemonic property editor (click on the ... button of
the property and choose the property editor from the combo box). This
way you can use a separate property from the bundle file for the
mnemonic which can be internationalized the same way as the label text.