Java FX : How to call method from controller to another controller [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 13 hours ago . Improve this question I woudlike to call method from another controller to enable/disable some Toggle Button. Dashboard_controller : // ENABLE BUTTON // public void setEnableBtn1() { btn1.setDisable(false); } public void setDisableBtn1() { btn1.setDisable(true); } My another controller : private