controller in *.fxml
this annotation is not necessary, you can use @Component as well. It's just a mark so we can get controller beans from bean factory.
这只是一个的标记,它完全可以使用 @Component 替代。 目的就是为了让 spring 管理 fxml 中的 controller
this annotation is not necessary, you can use @Component as well. It's just a mark so we can get controller beans from bean factory.
这只是一个的标记,它完全可以使用 @Component 替代。 目的就是为了让 spring 管理 fxml 中的 controller