From d9ad87810243a57f7f9ec3cb2cbec57ac286ec54 Mon Sep 17 00:00:00 2001 From: Hazem Abdelraouf Date: Tue, 13 Jan 2026 13:19:19 +0200 Subject: [PATCH 1/5] add PlayerRow model --- .../domain/entity/PlayerRow.java | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/main/java/com/mycompany/tictactoeserver/domain/entity/PlayerRow.java diff --git a/src/main/java/com/mycompany/tictactoeserver/domain/entity/PlayerRow.java b/src/main/java/com/mycompany/tictactoeserver/domain/entity/PlayerRow.java new file mode 100644 index 0000000..7b28eab --- /dev/null +++ b/src/main/java/com/mycompany/tictactoeserver/domain/entity/PlayerRow.java @@ -0,0 +1,39 @@ +/* + * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license + * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template + */ +package com.mycompany.tictactoeserver.domain.entity; + +/** + * + * @author Hazem + */ +public class PlayerRow { + private final String username ; + private final String status ; + + public PlayerRow(String username, String Status) { + this.username = username; + this.status = Status; + } + + + public String getUsername() { + return username; + } + + public String getStatus() { + return status; + } + + @Override + public String toString() { + return "PlayerRow{" + "username=" + username + ", Status=" + status + '}'; + } + + public PlayerRow(String username) { + this.username = username; + this.status = "Offline"; + } + +} From 29d25ab3f89bf1e5006a50ef1f2e977b70f66cbe Mon Sep 17 00:00:00 2001 From: Hazem Abdelraouf Date: Tue, 13 Jan 2026 13:25:35 +0200 Subject: [PATCH 2/5] update ui --- .../resources/presentation/dashboard.fxml | 25 ++++++------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/src/main/resources/presentation/dashboard.fxml b/src/main/resources/presentation/dashboard.fxml index 787e97f..be57b0c 100644 --- a/src/main/resources/presentation/dashboard.fxml +++ b/src/main/resources/presentation/dashboard.fxml @@ -7,7 +7,7 @@ - + @@ -73,10 +73,6 @@ - - - - @@ -84,24 +80,19 @@ - - - - - + - + -