Good evening, I have run into a small problem when writing the code of an interface. The part of the code that fails is:
final BooleanBinding activarComprobacion = campo1.textProperty().isEqualsTo("");
activarComprobacion.addListener((ObservableValue<? extends Bolean> observable, Boolean oldValue, Boolean newValue) -> {
System.out.println("Tendria que salir esto al seleccionar alguna opcion de campo1");
}
No compilation error or anything like that, in fact, before I used a button to check and everything was fine. Inside the lambda function I did several things, but I removed it because it was irrelevant.