I have a javafx application with a fontawesome icon inside. when i run the application i get this error. Error resolving onMouseClicked='#closeButtonAction', either the event handler is not in the Namespace or there is an error in the script.
My controller =>
My FXML file =>
the intellisense reads Handler method is not accessible,make public or annotate with @FXML when i hover on #closeButtonAction