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.
Please see attched image file. Mnemonic Keys which was mistaken on the Japanese is attached. To reproduce: - Versioning -> Mount Version Control -> Generic VCS - New Wizard - Generic VCS -> STEP4. Environment -> Insert -> Invert Variable The Mnemonic Keys of "Variable Name" Would you check if the first character is not used as mnemonic key? By localization, the first character becomes no-ascii character. As a result, the mnemonic key doesn't work by localization. To fix this problem, we need to set two resource bundle messages, one is for caption, another is for mnemonic. Example=TestString Example_Mnemonic=T And we should use like this: myButton.setText(myBundle.getString("Example")); myButton.setMnemonic(myBundle.getString("Example_Mnemonic").charAt(0). The following line does not work with localized version, because the first character is not an alphanumeric because it's replaced to multi-byte Japanese character. OS:Solaris 5.9 Orion Build:orion_ml_020507 fcc Build:20.4 JDK:JDK1.4.0 locale:ja
Created attachment 5800 [details] snap shot
I added the keyword "A11Y" for the bug. But I could not add the interest list for the bug. (michele.budris@sun.com)
The input dialog is created by org.openide.NotifyDescriptor.InputLine. I'm not able to set the mnemonic key for the text directly. However from the code I realized, that you can use '&' key in the text to mark the desired letter for the mnemonic. If there is no '&' key, the first letter is used as the mnemonic. So just use '&' where appropriate.
Let us know Masafumi whether it works as Martin suggests. Meanwhile verifying ...
Consistent use of the I18N keyword.
Resolved for 3.4.x or earlier, no new info since then -> closing.