Those directions don't appear to be very good. Here's the correct structure (and preferred convention) of a lamda expression:


setOnKeyPressed(e -> {

});
Note where the start/end parenthesis...