From e2760fbb7f9f8fe35a7087523f2591976f9f12b4 Mon Sep 17 00:00:00 2001 From: haavajor Date: Thu, 5 Mar 2026 11:36:45 +0100 Subject: [PATCH 001/101] Unit tests for Donation, User, and Organization classes --- .../domain/organization/Organization.java | 4 + src/main/java/persistence/UserDao.java | 2 +- src/test/java/domain/DonationTest.java | 115 ++++++++++ src/test/java/domain/OrganizationTest.java | 202 ++++++++++++++++++ src/test/java/domain/UserTest.java | 132 ++++++++++++ 5 files changed, 454 insertions(+), 1 deletion(-) diff --git a/src/main/java/domain/organization/Organization.java b/src/main/java/domain/organization/Organization.java index c4d5d3c..611e18a 100644 --- a/src/main/java/domain/organization/Organization.java +++ b/src/main/java/domain/organization/Organization.java @@ -21,6 +21,8 @@ public Organization(String name, String orgNr, Cause cause, String description, if (orgNr == null || !orgNr.matches("\\d{9}")) { throw new IllegalArgumentException("Organization number must be 9 digits"); } + + //Legg til exception for contactEmail == null if (contactEmail != null) { contactEmail = contactEmail.trim(); @@ -35,6 +37,7 @@ public Organization(String name, String orgNr, Cause cause, String description, } } + //Legg til exception for website == null if (website != null) { website = website.trim(); @@ -42,6 +45,7 @@ public Organization(String name, String orgNr, Cause cause, String description, throw new IllegalArgumentException("Website cannot be blank"); } + //Legg til feil for domain extension (.com f.eks) if (!website.matches("^https?://.+")) { //Got help from ChatGPT for regex throw new IllegalArgumentException("Website must start with http:// or https://"); } diff --git a/src/main/java/persistence/UserDao.java b/src/main/java/persistence/UserDao.java index 5a77341..bf9edc4 100644 --- a/src/main/java/persistence/UserDao.java +++ b/src/main/java/persistence/UserDao.java @@ -4,7 +4,7 @@ import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; -import model.User; +import domain.user.User; public class UserDao { diff --git a/src/test/java/domain/DonationTest.java b/src/test/java/domain/DonationTest.java index bb9c875..ea73049 100644 --- a/src/test/java/domain/DonationTest.java +++ b/src/test/java/domain/DonationTest.java @@ -1,5 +1,120 @@ package domain; +import domain.donation.Cause; +import domain.donation.Donation; +import domain.organization.Organization; +import domain.user.User; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +import java.math.BigDecimal; +import java.time.Duration; +import java.time.LocalDateTime; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.assertTrue; + class DonationTest { + //User Variables + private final String testUserName = "testUser"; + private final String testPhoneNumber = "90909090"; + private final String testEmail = "test@email.com"; + private final String testPassword = "password"; + + //Organization Variables + private final String testName = "Name"; + private final String testOrgNr = "123456789"; + private final Cause testCause = Cause.HEALTH; + private final String testDescription = "Description"; + private final String testContactEmail = "test@mail.com"; + private final String testWebsite = "https://test.com"; + private final boolean testVerified = true; + + //Donation Variables + private Long testID = 123L; + private BigDecimal testAmount = new BigDecimal("1500"); + private LocalDateTime testDateTime = LocalDateTime.of(2026, 3, 5, 8, 30, 0); + private User testUser; + private Organization testOrganization; + + @BeforeEach + public void init() { + testUser = new User(testUserName, testPhoneNumber, testPassword, testEmail); + testOrganization = new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified); + } + + + @Test + public void DonationTestPositive(){ + Donation donation = new Donation(testAmount, testUser, testOrganization); + } + + @Test + public void DonationTestUserNull(){ + testUser = null; + NullPointerException Exception = assertThrows(NullPointerException.class, + () -> new Donation (testAmount, testUser, testOrganization)); + + assertEquals("User cannot be null", Exception.getMessage()); + } + + @Test + public void DonationOrganizationNull(){ + testOrganization = null; + NullPointerException Exception = assertThrows(NullPointerException.class, + () -> new Donation (testAmount, testUser, testOrganization)); + + assertEquals("Organization cannot be null", Exception.getMessage()); + } + + @Test + public void DonationTestAmountNegative(){ + testAmount = new BigDecimal("-23"); + IllegalArgumentException Exception = assertThrows(IllegalArgumentException.class, + () -> new Donation (testAmount, testUser, testOrganization)); + + assertEquals("Amount must be greater than 0", Exception.getMessage()); + } + + //Getter tests + /* id is never set, getter makes a NullPointerException + @Test + public void DonationTestIdGet(){ + Donation donation = new Donation(testAmount, testUser, testOrganization); + assertEquals(0L, donation.getId()); + + } + */ + + @Test + public void DonationTestAmountGet(){ + Donation donation = new Donation(testAmount, testUser, testOrganization); + assertEquals(testAmount, donation.getAmount()); + + } + + @Test + public void DonationTestDateTimeGet(){ + LocalDateTime now = LocalDateTime.now(); + Donation donation = new Donation(testAmount, testUser, testOrganization); + + assertTrue(Duration.between(now, donation.getDateTime()).abs().toMillis() < 1000); + + } + + @Test + public void DonationTestUserGet(){ + Donation donation = new Donation(testAmount, testUser, testOrganization); + assertEquals(testUser, donation.getUser()); + + } + + @Test + public void DonationTestOrganizationGet(){ + Donation donation = new Donation(testAmount, testUser, testOrganization); + assertEquals(testOrganization, donation.getOrganization()); + + } } \ No newline at end of file diff --git a/src/test/java/domain/OrganizationTest.java b/src/test/java/domain/OrganizationTest.java index 815aa53..47c8024 100644 --- a/src/test/java/domain/OrganizationTest.java +++ b/src/test/java/domain/OrganizationTest.java @@ -1,5 +1,207 @@ package domain; +import domain.donation.Cause; +import domain.organization.Organization; +import domain.user.User; +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; + class OrganizationTest { + private String testName = "Name"; + private String testOrgNr = "123456789"; + private Cause testCause = Cause.HEALTH; + private String testDescription = "Description"; + private String testContactEmail = "test@mail.com"; + private String testWebsite = "https://test.com"; + private boolean testVerified = true; + + //Positive tests + @Test + public void organizationTestPositive(){ + Organization organization = new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified); + } + + //Negative tests + @Test + public void organizationTestNameBlank(){ + testName = ""; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization("", testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Name cannot be null or blank", exception.getMessage()); + } + + @Test + public void organizationTestNameNull(){ + testName = null; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Name cannot be null or blank", exception.getMessage()); + } + + @Test + public void organizationTestOrgNrNull(){ + testOrgNr = null; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Organization number must be 9 digits", exception.getMessage()); + } + + @Test + public void organizationTestOrgNrLetters(){ + testOrgNr = "12345678a"; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Organization number must be 9 digits", exception.getMessage()); + } + + @Test + public void organizationTestOrgNrShort(){ + testOrgNr = "12345"; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Organization number must be 9 digits", exception.getMessage()); + } + + /* Mangler exception for når email er null + @Test + public void organizationTestContactEmailNull(){ + testContactEmail = null; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + } + */ + + @Test + public void organizationTestContactEmailTrim(){ + testContactEmail = "test@mail.com "; + Organization organization = new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified); + } + + @Test + public void organizationTestContactEmailBlank(){ + testContactEmail = ""; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Email cannot be blank", exception.getMessage()); + } + + @Test + public void organizationTestContactEmailMissingAt(){ + testContactEmail = "test.com"; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Invalid email format", exception.getMessage()); + } + + @Test + public void organizationTestContactEmailDoubleAt(){ + testContactEmail = "test@@mail.com"; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Invalid email format", exception.getMessage()); + } + + @Test + public void organizationTestContactEmailMisplacedAt(){ + testContactEmail = "@testmail.com"; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Invalid email format", exception.getMessage()); + } + + @Test + public void organizationTestContactEmailMissingDot(){ + testContactEmail = "test@mailcom"; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Invalid email format", exception.getMessage()); + } + + @Test + public void organizationTestWebsiteMissingHttps(){ + testWebsite = "test.com"; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Website must start with http:// or https://", exception.getMessage()); + } + + /* Mangler exception når url mangler domain extension (.com f.eks) + @Test + public void organizationTestWebsiteMissingDot(){ + testWebsite = "https://testcom"; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Website must start with http:// or https://", exception.getMessage()); + } + */ + + /* Mangler exception når website er null + @Test + public void organizationTestWebsiteMissingDot(){ + testWebsite = null; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified)); + + assertEquals("Website must start with http:// or https://", exception.getMessage()); + } + */ + + + + //Getter tests + @Test + public void organizationTestNameGet(){ + Organization Organization = new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified); + assertEquals(testName, Organization.getName()); + } + + @Test + public void organizationTestOrgNrGet(){ + Organization Organization = new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified); + assertEquals(testOrgNr, Organization.getOrgNr()); + } + + @Test + public void organizationTestCauseGet(){ + Organization Organization = new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified); + assertEquals(testCause, Organization.getCause()); + } + + @Test + public void organizationDescriptionGet(){ + Organization Organization = new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified); + assertEquals(testDescription, Organization.getDescription()); + } + + @Test + public void organizationTestContactEmailGet(){ + Organization Organization = new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified); + assertEquals(testContactEmail, Organization.getContactEmail()); + } + + @Test + public void organizationTestWebsiteGet(){ + Organization Organization = new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified); + assertEquals(testWebsite, Organization.getWebsite()); + } + @Test + public void organizationTestIsVerifiedGet(){ + Organization Organization = new Organization(testName, testOrgNr, testCause, testDescription, testContactEmail, testWebsite, testVerified); + assertEquals(testVerified, Organization.isVerified()); + } } \ No newline at end of file diff --git a/src/test/java/domain/UserTest.java b/src/test/java/domain/UserTest.java index c21aa90..b1c8f14 100644 --- a/src/test/java/domain/UserTest.java +++ b/src/test/java/domain/UserTest.java @@ -1,5 +1,137 @@ package domain; +import domain.user.User; +import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; + class UserTest { + private String testUserName = "testUser"; + private String testPhoneNumber = "90909090"; + private String testEmail = "test@email.com"; + private final String testPassword = "password"; + + //Positive tests + @Test + public void userTestPositive(){ + User User = new User(testUserName, testPhoneNumber, testPassword, testEmail); + } + + //Negative tests + @Test + public void userTestUserNameBlank(){ + testUserName = ""; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new User(testUserName, testPhoneNumber, testPassword, testEmail)); + + assertEquals("Username has to be filled in", exception.getMessage()); + } + + @Test + public void userTestUserNameNull(){ + testUserName = null; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new User(testUserName, testPhoneNumber, testPassword, testEmail)); + + assertEquals("Username has to be filled in", exception.getMessage()); + } + + @Test + public void userTestPhoneNumberBlank(){ + testPhoneNumber = ""; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new User(testUserName, testPhoneNumber, testPassword, testEmail)); + + assertEquals("Phonenumber has to be filled in", exception.getMessage()); + } + + @Test + public void userTestPhoneNumberNull(){ + testPhoneNumber = null; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new User(testUserName, testPhoneNumber, testPassword, testEmail)); + + assertEquals("Phonenumber has to be filled in", exception.getMessage()); + } + + @Test + public void userTestPhoneNumberShort() { + testPhoneNumber = "909090"; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new User(testUserName, testPhoneNumber, testPassword, testEmail)); + + assertEquals("Fill in a phonenumber with 8 digits", exception.getMessage()); + } + + @Test + public void userTestEmailBlank(){ + testEmail = ""; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new User(testUserName, testPhoneNumber, testPassword, testEmail)); + + assertEquals("E-mail has to be filled in", exception.getMessage()); + } + + @Test + public void userTestEmailNull(){ + testEmail = null; + IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, + () -> new User(testUserName, testPhoneNumber, testPassword, testEmail)); + + assertEquals("E-mail has to be filled in", exception.getMessage()); + } + + //Getter tests + @Test + public void userTestUserNameGet(){ + User User = new User(testUserName, testPhoneNumber, testPassword, testEmail); + assertEquals(User.getUsername(), testUserName); + } + + @Test + public void userTestPhoneNumberGet(){ + User User = new User(testUserName, testPhoneNumber, testPassword, testEmail); + assertEquals(User.getPhoneNumber(), testPhoneNumber); + } + + @Test + public void userTestEmailGet(){ + User User = new User(testUserName, testPhoneNumber, testPassword, testEmail); + assertEquals(User.getEMail(), testEmail); + } + + @Test + public void userTestPasswordGet(){ + User User = new User(testUserName, testPhoneNumber, testPassword, testEmail); + assertEquals(User.getPassword(), testPassword); + } + + //Setter tests + @Test + public void userTestPasswordSet(){ + User User = new User(testUserName, testPhoneNumber, testPassword, testEmail); + String newPassword = "NewPassoword"; + User.setPassword(newPassword); + assertEquals(newPassword, User.getPassword()); + } + + @Test + public void userTestUserNameSet(){ + User User = new User(testUserName, testPhoneNumber, testPassword, testEmail); + String newUserName = "NewUsername"; + User.setUsername(newUserName); + assertEquals(newUserName, User.getUsername()); + } + + @Test + public void userTestPhoneNumberSet(){ + User User = new User(testUserName, testPhoneNumber, testPassword, testEmail); + String newPhoneNumber = "123456asdsad7"; //Trenger input validering + User.setPhonenumber(newPhoneNumber); + assertEquals(newPhoneNumber, User.getPhoneNumber()); + } + + + } \ No newline at end of file From 16b15abe22a3f0d5babbe97b0d4435bedd40b706 Mon Sep 17 00:00:00 2001 From: Marius Klepp Date: Fri, 13 Mar 2026 14:48:02 +0100 Subject: [PATCH 002/101] Fixed main class configuration --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 85afbce..0f3156b 100644 --- a/pom.xml +++ b/pom.xml @@ -62,7 +62,7 @@ javafx-maven-plugin 0.0.8 - ui.GiveHopeGIU + app.Main From 2f7251866013bfaf37731f3eb307b6b58973de7b Mon Sep 17 00:00:00 2001 From: Marius Klepp Date: Fri, 13 Mar 2026 14:48:44 +0100 Subject: [PATCH 003/101] Removed unnecessary file --- src/main/java/app/GiveHopeApp.java | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 src/main/java/app/GiveHopeApp.java diff --git a/src/main/java/app/GiveHopeApp.java b/src/main/java/app/GiveHopeApp.java deleted file mode 100644 index 9738139..0000000 --- a/src/main/java/app/GiveHopeApp.java +++ /dev/null @@ -1,4 +0,0 @@ -package app; - -public class GiveHopeApp { -} From 6b345692b08f8151f5254b2220810317da6a4e40 Mon Sep 17 00:00:00 2001 From: Marius Klepp Date: Fri, 13 Mar 2026 14:48:48 +0100 Subject: [PATCH 004/101] Removed unnecessary file --- src/main/java/ui/GiveHopeGIU.java | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/main/java/ui/GiveHopeGIU.java diff --git a/src/main/java/ui/GiveHopeGIU.java b/src/main/java/ui/GiveHopeGIU.java deleted file mode 100644 index 2617122..0000000 --- a/src/main/java/ui/GiveHopeGIU.java +++ /dev/null @@ -1,23 +0,0 @@ -package ui; - -import javafx.application.Application; -import javafx.fxml.FXMLLoader; -import javafx.scene.Scene; -import javafx.stage.Stage; - -public class GiveHopeGIU extends Application { - - @Override - public void start(Stage stage) throws Exception { - FXMLLoader loader = new FXMLLoader(getClass().getResource("/ui/home.fxml")); - Scene scene = new Scene(loader.load(), 600, 400); - - stage.setTitle("GiveHope"); - stage.setScene(scene); - stage.show(); - } - - public static void main(String[] args) { - launch(); - } -} \ No newline at end of file From 3edb5877c3adfbb2594519982cc95d0149982cf6 Mon Sep 17 00:00:00 2001 From: Marius Klepp Date: Fri, 13 Mar 2026 15:13:44 +0100 Subject: [PATCH 005/101] Class to move between scenes --- src/main/java/app/SceneManager.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/main/java/app/SceneManager.java diff --git a/src/main/java/app/SceneManager.java b/src/main/java/app/SceneManager.java new file mode 100644 index 0000000..0f69043 --- /dev/null +++ b/src/main/java/app/SceneManager.java @@ -0,0 +1,21 @@ +package app; + +import javafx.fxml.FXMLLoader; +import javafx.scene.Parent; +import javafx.stage.Stage; + +import java.io.IOException; + +public class SceneManager { + + private static Stage stage; + + public static void setStage(Stage s) { + stage = s; + } + + public static void switchTo(String fxmlPath) throws IOException { + Parent root = FXMLLoader.load(SceneManager.class.getResource(fxmlPath)); + stage.getScene().setRoot(root); + } +} \ No newline at end of file From 9ff4e73fa4f73c0f54cd5463776c2cc2bb9b3fba Mon Sep 17 00:00:00 2001 From: Marius Klepp Date: Fri, 13 Mar 2026 15:14:36 +0100 Subject: [PATCH 006/101] Changed name to big capital letter --- src/main/resources/ui/home.fxml | 31 ------------------------------- src/main/resources/ui/signIn.fxml | 30 ------------------------------ 2 files changed, 61 deletions(-) delete mode 100644 src/main/resources/ui/home.fxml delete mode 100644 src/main/resources/ui/signIn.fxml diff --git a/src/main/resources/ui/home.fxml b/src/main/resources/ui/home.fxml deleted file mode 100644 index 5028391..0000000 --- a/src/main/resources/ui/home.fxml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - + + + + + + + + + From 84cf18f38d93dfd1593188a4590f96baee86b09e Mon Sep 17 00:00:00 2001 From: Marius Klepp Date: Tue, 24 Mar 2026 15:43:28 +0100 Subject: [PATCH 039/101] feat: add MyProfileController --- src/main/java/ui/controller/MyProfileController.java | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/main/java/ui/controller/MyProfileController.java diff --git a/src/main/java/ui/controller/MyProfileController.java b/src/main/java/ui/controller/MyProfileController.java new file mode 100644 index 0000000..133f5eb --- /dev/null +++ b/src/main/java/ui/controller/MyProfileController.java @@ -0,0 +1,4 @@ +package ui.controller; + +public class MyProfileController { +} From b80dbbfd619fc221add50f498bb6af1075479895 Mon Sep 17 00:00:00 2001 From: Marius Klepp Date: Tue, 24 Mar 2026 15:45:32 +0100 Subject: [PATCH 040/101] feat: add NavbarController with navigation and Navbar FXML layout --- .../java/ui/controller/NavbarController.java | 12 ++++++++++++ src/main/resources/fxml/Navbar.fxml | 19 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 src/main/java/ui/controller/NavbarController.java create mode 100644 src/main/resources/fxml/Navbar.fxml diff --git a/src/main/java/ui/controller/NavbarController.java b/src/main/java/ui/controller/NavbarController.java new file mode 100644 index 0000000..751de42 --- /dev/null +++ b/src/main/java/ui/controller/NavbarController.java @@ -0,0 +1,12 @@ +package ui.controller; + +import app.SceneManager; +import javafx.event.ActionEvent; + +public class NavbarController { + + @javafx.fxml.FXML + private void handleGoHome(ActionEvent event) throws Exception { + SceneManager.switchTo("/fxml/Home.fxml"); + } +} diff --git a/src/main/resources/fxml/Navbar.fxml b/src/main/resources/fxml/Navbar.fxml new file mode 100644 index 0000000..af9d6cd --- /dev/null +++ b/src/main/resources/fxml/Navbar.fxml @@ -0,0 +1,19 @@ + + + + + + + + + + + +