This project is an Employee Management System developed using JavaFX and MySQL.
It is designed to manage employee information efficiently with secure admin-only access.
- Admin-only login system
- Full CRUD operations
Add, Delete, View, Update employee information
- Dashboard with a brief system overview
- Dedicated section for managing employee salaries
- JavaFX-based graphical user interface
- FontAwesomeFX icons support
- Java
- JavaFX
- MySQL
- JDBC (MySQL Connector)
- FontAwesomeFX
To run this project, the following tools and libraries are required:
- Java JDK
- JavaFX SDK
- XAMPP or WAMP (for MySQL and phpMyAdmin)
- mysql-connector-java.jar
- fontawesomefx.jar (required for icons)
- Uses MySQL as the database system.
- Database can be managed via phpMyAdmin.
- Separate tables are designed for employee data and salary information.
-
Clone the repository:
git clone https://github.com/your-username/employee-management-system.git
-
Install the requirements:
- Java JDK: https://www.oracle.com/tr/java/technologies/downloads/
- JavaFX SDK: https://gluonhq.com/products/javafx/
- Xampp: https://www.apachefriends.org/download.html
- mysql-connector-java jar: https://mvnrepository.com/artifact/mysql/mysql-connector-java
- fontawesomefx jar: https://mvnrepository.com/artifact/de.jensd/fontawesomefx/8.2
-
Open the project in an IDE
Open the project using an IDE such as IntelliJ IDEA, Eclipse, or NetBeans(Recommended). -
Add required libraries
Add the following .jar files to your project dependencies:mysql-connector-java.jarfontawesomefx.jar
-
Set up the database
- Start XAMPP and run MySQL.
- Open phpMyAdmin.
- Create a new database (e.g. employee_management).
- Import
mysqldb.sqlinto the database.
-
Configure database connection Update the database connection settings in the project:
Connection connect = DriverManager.getConnection("jdbc:mysql://localhost/mysqldb", "root", "");
-
Configure JavaFX If you are using Java 11 or later, add the following VM options:
--module-path /path/to/javafx/lib --add-modules javafx.controls,javafx.fxml
-
Run the application
- Run the main application class.
- Log in using an admin account (username: admin, password: admin123).



