On Sat, 1 Jun 2024 18:15:56 GMT, Martin Fox <m...@openjdk.org> wrote:
> JavaFX uses a table to map from an AWT integer key code to a JavaFX KeyCode. > If AWT provides a code that's not in the table JavaFX attempts to use a > KeyCode of null when constructing the KeyEvent which raises an exception. > This PR just checks for null and changes it to KeyCode.UNDEFINED. This pull request has now been integrated. Changeset: 14cd9806 Author: Martin Fox <m...@openjdk.org> URL: https://git.openjdk.org/jfx/commit/14cd9806eab87954f998aab33c8b2529e34924d6 Stats: 7 lines in 1 file changed: 5 ins; 1 del; 1 mod 8324232: KeyEvent.getCode() is null inside JFXPanel Reviewed-by: angorya ------------- PR: https://git.openjdk.org/jfx/pull/1470