Thanks, Aeric, but only this one of 2018 is similar, where Erel offered just workaround (Menu's calls are processed in KeyPressedListener).
Maybe any other way in 2025 and Java 19 ?
So, it needs to combine working of this code and KeyPressedListener:
'Set a shortcut key for this menu item
'Returns the menu item
Public Sub SetShortCutKey(MI As JavaObject,Combination() As String) As MenuItem
Dim KC As JavaObject
KC.InitializeStatic("javafx.scene.input.KeyCombination")
Dim KCS As String
For i = 0 To Combination.Length - 1
If i > 0 Then KCS = KCS & "+"
KCS = KCS & Combination(i)
Next
MI.RunMethod("setAccelerator",Array(KC.RunMethod("keyCombination",Array(KCS))))
Return MI
End Sub
Or is it impossible ?