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. Create a Method newly. 2. Carry out a right click on a method. A property is chosen from a pop up menu. 3. Choose a Properties Window -> Javadoc comment. 4. Display a Property Editor. 5. If it translates into Japanese, mnemonic has stopped moving. The Mnemonic Keys of "New". The Mnemonic Keys of "Delete".
Created attachment 3817 [details] Image1.gif
version of the IDE? BTW the dialog does not belong to core. It's javadoc module. Please try to choose the correct component next time you'll file bug report. core is not a kitchen sink for all bugs in the IDE
I've reproduced on Build 200112180331. 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));
This seems to be fixed in NB Beta 6.
Verified on FFJ Build 020221_1
Consistent use of the I18N keyword.
Resolved for 3.3.x or earlier, no new info since then -> closing.