FXMLLoader fxmlLoader = (FXMLLoader) (this.baseBorderPane.getScene().getUserData()); IController controller = fxmlLoader.getController(); controller.something();