I using JavaFx for first time and I encountered a problem with events. I built a form with SceneBuilder and I add an event on .fxml and controller but it\'s always return w
If you want to use a mouseClicked event, simply change your newButtonClicked method to take in MouseEvent
mouseClicked
newButtonClicked
MouseEvent
@FXML private void newButtonClick(MouseEvent event){...}