我如何在当前窗口中打开另一个fxml文件,例如 .

@FXML
 private void LogInButton()
{
    try {
        FXMLLoader fxmlLoader = new    FXMLLoader(getClass().getResource("logIn.fxml"));
        Parent root1 = (Parent) fxmlLoader.load();
        Stage stage = new Stage();
        stage.setScene(new Scene(root1));
        stage.show();

    } catch(Exception e) {
        e.printStackTrace();
    }
}

这是我的按钮但是当我使用它时,它打开一个新的窗口我该怎么做才能交换fxml文件