[BLUEJ-910] Some keyboard shortcuts will not work when switching to another language
When switching the UI language (e.g. to French), some keyboard accelerators will not work even if they appear in the menu.
Internal error: Unable to load frame labels file: /Applications/BlueJ.app/Contents/Resources/Java/french/frame-labels Exception in thread "JavaFX Application Thread" java.lang.NullPointerException: Key code must not be null! at javafx.scene.input.KeyCodeCombination.validateKeyCode(KeyCodeCombination.java:207) {quote}at javafx.scene.input.KeyCodeCombination.(KeyCodeCombination.java:90) at bluej.Config.getAcceleratorKeyFX(Config.java:1092) at bluej.Main.lambda$prepareMacOSMenuFX$9(Main.java:307) at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95){quote}
Issue metadata
- Issue type: Bug
- Priority: High
- Fix versions: 4.0.1