Student Management System
JavaFX Student Management System Project
Disclaimer
- Welcome to my JavaFX Student Management System project, inspired by MarcoMan’s original work.
- This project marks my exciting journey into the world of JavaFX.
- A huge shoutout to MarcoMan for his invaluable YouTube tutorial, which guided me through this project’s creation.
- While this project shares its foundation with MarcoMan’s, I’ve introduced several enhancements and customized the methods to suit my needs.
- This project is just the beginning; I plan to apply the knowledge gained here to future JavaFX projects.
Software Requirements
Before you dive in, make sure to download and install the following:
Installation
Configuring SceneBuilder
Before opening the view.fxml
files in SceneBuilder, you need to add essential dependencies.
- Add the following dependencies to SceneBuilder:
io.github.palexdev:materialfx:11.16.1
org.kordamp.ikonli:ikonli-fontawesome-pack:12.3.1
org.kordamp.ikonli:ikonli-fontawesome5-pack:12.3.1
org.kordamp.ikonli:ikonli-javafx:12.3.1
- To add these dependencies, follow these steps within SceneBuilder:
- Select the Empty desktop application option.
- On the left panel, click the gear icon next to “Library” and the search bar.
- Choose JAR/FXML Manager.
- Click Search repositories.
- Search and add the dependencies one by one:
io.github.palexdev:materialfx
org.kordamp.ikonli:ikonli-fontawesome-pack
org.kordamp.ikonli:ikonli-fontawesome5-pack
org.kordamp.ikonli:ikonli-javafx
- Select each item from the search results and click Add Jar.
- Choose Import Component.
- Repeat these steps until all dependencies are added.
Setting Up IntelliJ IDEA IDE
- Open IntelliJ IDEA and select Get from VCS.
- In the “GitHub” tab, log in to your GitHub account.
- Click the “Repository URL” tab and paste the project URL:
https://github.com/XAPHNE/StudentManagementSystem
. Then click Clone.
Configuring XAMPP
- Start both the MySQL and Apache servers.
- Open a web browser and navigate to
http://localhost/phpmyadmin/index.php
. - Click on SQL in the top navigation panel.
-
Copy and paste the following SQL code:
CREATE DATABASE studentManagementSystem; CREATE USER 'admin'@'localhost' IDENTIFIED BY 'admin'; GRANT ALL PRIVILEGES ON studentManagementSystem.* TO 'admin'@'localhost';
- Refresh the page and select the studentManagementSystem database from the left panel.
- Click on Import in the top navigation panel.
- Select Choose file and navigate to the
src/main/resources/com/xaphene/studentmanagementsystem/studentManagementSystem.sql
file within the project directory. Then click Import.
Running the Project
You can run the project by pressing Shift + F10
on the src/main/java/com/xaphene/studentmanagementsystem/StudentManagementApplication.java
file.
Now, enjoy the benefits of my Student Management System!