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.
Mnemonic Keys which was mistaken on the Japanese is attached. 1. Breakpoint is set up and debugging is performed. 2. Debug of a main menu -> Step Into is chosen. 3. Question dialog is displayed. 4. If it translates into Japanese, mnemonic has stopped moving. The Mnemonic Keys of "Stop". The Mnemonic Keys of "Step Out". The Mnemonic Keys of "Find source" This bug resembles http://openide.netbeans.org/issues/show_bug.cgi?id=18635.
Created attachment 4021 [details] /home/hn131207/work2002/Image1.gif
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). I guess other many objects are implemented like above. 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. myButton.setMnemonic(myResourceBundle.getString("Example").charAt(0));
Created attachment 5667 [details] Image1-2.gif
Please refer to this page. http://ministop.japan/Products/Forte/ffj-qa-i18n/docs/misc/mnemonic.html
*** This issue has been marked as a duplicate of 24186 ***
Consistent use of the I18N keyword.
Resolved for 3.3.x or earlier, no new info since then -> closing.