Looking at “Window setDefaultButton(button)” in vanilla doc, it says “the button will be bound to the Return and Enter keys”. But these key events seem to be invalid on my script. Does that make sense?
Have a look into my Kernkraft Plugin as far as I remember, I bound some keys there.
Thanks, I will look your script.