styling and transition with login page

This commit is contained in:
Clément
2025-03-05 18:38:54 +01:00
parent 5cefe42a99
commit f87145ed69
4 changed files with 27 additions and 25 deletions

View File

@@ -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();