styling and transition with login page
This commit is contained in:
@@ -16,6 +16,9 @@ public class ClientLogin {
|
||||
|
||||
@FXML
|
||||
private void login() throws IOException {
|
||||
if(usernameField.getText().isEmpty()) {
|
||||
return;
|
||||
}
|
||||
var loader = new FXMLLoader(getClass().getResource("/client/clientLoading.fxml"));
|
||||
loader.load();
|
||||
Stage stage = (Stage) usernameField.getScene().getWindow();
|
||||
|
||||
Reference in New Issue
Block a user