I have the following method
private void initializeMoveOnClick(final Group window){
window.addEventFilter(MouseEvent.MOUSE_CLICKED, new EventHandler<MouseEvent>() {
@Override
public void handle(MouseEvent mouseEvent) {
//do some stuff
}
});
}
How do I go about replacing the overrided handle method declaration with a lambda expression?