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
instead of onMouseClicked you should use onAction