public final void setOnKeyReleased (EventHandler<? super KeyEvent> value)

taken from field

Defines a function to be called when some Node of this Scene has input focus and a key has been released. The function is called only if the event hasn't been already consumed during its capturing or bubbling phase.