✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
În codul de la întrebarea anterioară, filtrul lui root se modifică astfel:
root.addEventFilter(MouseEvent.MOUSE_CLICKED, e -> {
System.out.print("A");
e.consume();
});
Ce se afișează la clic pe cerc?