Skip to content

Commit

Permalink
feat: public getLatinKeycode
Browse files Browse the repository at this point in the history
- Publish getLatinKeycode method

Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Mar 17, 2024
1 parent 15c42f5 commit d95ff22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/openide/awt/Mnemonics.java
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ static void setMnemonicAndIndex(Object item, char ch, int index, Locale locale)
* or the appropriate VK_*** code (if there's no latin character
* "under" the non-Latin one)
*/
private static int getLatinKeycode(char localeChar, Locale locale) {
public static int getLatinKeycode(char localeChar, Locale locale) {
try {
// associated should be a latin character, arabic digit
// or an integer (KeyEvent.VK_***)
Expand Down

0 comments on commit d95ff22

Please sign in to comment.