Consuming Events with EventFilters
问题 First, can anyone explain to me, why my MouseEvent gets consumed no matter which Alert -Option I choose? I guess it has something to do with calling an Alert within an EventFilter , but thats just not yet clear to me. public class EventFilterConsumeErrorExample extends Application { @Override public void start( final Stage primaryStage ) { final CheckBox checkBox = new CheckBox( "Check me!" ); checkBox.setOnAction( ( event ) -> { System.out.println( "onAction: " + checkBox.isSelected() ); } )