Welcome to the Student Registration App! This Java application allows administrators to register, manage, and search for student records. Administrators can add new students, delete existing ones, and search for students by their ID. The application also supports adding photos for each student.
To set up the database for this application, follow these steps:
-
Create the database:
- Ensure that MySQL is installed and running on your local machine.
- Execute the following SQL command to create a database named
students_db:CREATE DATABASE students_db;
-
Create the table:
- After creating the database, execute the following SQL command to create a table named
students:CREATE TABLE students ( code_eleve INT AUTO_INCREMENT PRIMARY KEY, nom VARCHAR(255), sexe VARCHAR(10), classe VARCHAR(10), photo LONGBLOB );
- After creating the database, execute the following SQL command to create a table named
-
Login: Upon launching the application, users are prompted to enter their credentials (username and password) to access the system.

-
Registration: Administrators can register new students by entering their details and selecting an image for their photo.
-
Deletion: Administrators can delete students by selecting them from the table and clicking the "Delete" button.
-
Search: Users can search for students by their ID using the search field provided.
- Java Swing for the GUI
- MySQL for the database
- Clone this repository to your local machine.
- Open the project in your preferred Java IDE.
- Configure the MySQL connection settings in the code.
- Run the application.
