How to reopen/prevent closing of ControlsFX LoginDialog on failed login?
问题 In my application, the first I do is request the user to login using the controlsFX LoginDialog. If the login is successful, I display the application, however if it fails the login window will close. I would rather the login window stay open to allow the user to attempt to login again. public void start(Stage stage) throws Exception { LoginDialog ld = new LoginDialog(new Pair<String, String>("", ""), new Callback<Pair<String,String>, Void>() { @Override public Void call(Pair<String, String>