Management information system using java intellij GUI swing
MIT License
This project focuses on developing a Student Management Information System (MIS) using Java with the IntelliJ IDE. The system uses a MySQL database to handle CRUD operations (Create, Read, Update, Delete) for managing student data. It also features a user-friendly GUI developed using Java Swing.
Follow these steps to set up and run the project:
Download MySQL Connector/J:
Download LGoodDatePicker:
Import into IntelliJ:
MySQL Database Setup:
Run the Project:
The following script creates the necessary database and tables for the Student Management Information System:
-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 02, 2024 at 12:45 PM
-- Server version: 10.4.32-MariaDB
-- PHP Version: 8.2.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
-- Database: `java_activity_1`
-- Table structure for table `gender`
CREATE TABLE `gender` (
`id` int(11) NOT NULL,
`gender_name` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- Insert data into `gender`
INSERT INTO `gender` (`id`, `gender_name`) VALUES
(1, 'Male'),
(2, 'Female'),
(3, 'Other');
-- Table structure for table `student`
CREATE TABLE `student` (
`id` int(11) NOT NULL,
`name_latin` varchar(200) NOT NULL,
`name_khmer` varchar(200) NOT NULL,
`gender_id` int(11) NOT NULL,
`date_of_birth` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- Insert data into `student`
INSERT INTO `student` (`id`, `name_latin`, `name_khmer`, `gender_id`, `date_of_birth`) VALUES
(2, 'Jane Smith', 'ααΆα αααα·α
', 2, '2001-02-20'),
(3, 'Alex Kim', 'α’αΆαα·α
ααΈα', 3, '1999-05-30'),
(4, 'Test User', 'ααα', 1, '2024-08-08');
-- Indexes and constraints
ALTER TABLE `gender`
ADD PRIMARY KEY (`id`);
ALTER TABLE `student`
ADD PRIMARY KEY (`id`),
ADD KEY `gender_id` (`gender_id`);
ALTER TABLE `gender`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
ALTER TABLE `student`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
ALTER TABLE `student`
ADD CONSTRAINT `student_ibfk_1` FOREIGN KEY (`gender_id`) REFERENCES `gender` (`id`);
COMMIT;
@misc{java_intellij_mis,
author = {SOY TET},
title = {Student Management Information System (MIS) with Java and IntelliJ},
year = {2024},
publisher = {GitHub},
journal = {GitHub repository}
}