Skip to content

A Java application for managing student information using AWT and Swing. The app allows adding, editing, deleting, sorting, viewing, exporting and importing student details with a user-friendly GUI.

Notifications You must be signed in to change notification settings

C4bbage64/Student-Info-Manager-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Student Info Manager Application

Overview

The Student Info Manager Application is a desktop application built with Java Swing to manage student information. It supports CRUD (Create, Read, Update, Delete) operations on student records and handles exceptions gracefully. The application reads and writes student data from/to text files.

Features

  • Add new student records
  • Edit existing student records
  • Delete student records
  • Sort and View all student records
  • Exception handling with custom messages
  • Persistent storage of student data using text files

Class Diagram

Class Diagram

Prerequisites

  • Java Development Kit (JDK) 8 or higher
  • An IDE like IntelliJ IDEA, Eclipse, or NetBeans

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/student-info-manager.git
    cd student-info-manager
  2. Open the project in your IDE.

  3. Build the project to resolve dependencies.

Usage

  1. Run the StudentInfoManagerApp class to start the application.
  2. Use the tabs to navigate through different functionalities:
    • Add Student: Fill in the details and click "Add Student".
    • Edit Student: Provide the Student ID of the record you want to update, fill in the new details, and click "Edit Student".
    • Delete Student: Provide the Student ID and click "Delete Student".
    • View Students: Click "Refresh" to view the list of all students.

File Structure

  • Student.java: Defines the Student class with attributes and methods.
  • StudentManager.java: Manages the collection of students and CRUD operations.
  • FileManager.java: Handles reading and writing student data to/from text files.
  • InvalidInputException.java: Custom exception class for handling invalid inputs.
  • StudentInfoManagerApp.java: Main class that initializes the GUI and integrates all functionalities.

Exception Handling

The application includes custom exception handling to manage invalid inputs. For instance, attempting to add a student without filling in all fields will trigger an InvalidInputException with a relevant error message.

Sample Data File

Ensure you have a students.txt file in the root directory with sample data in the following format:


Thank you for visiting our repository! We hope you find this project useful and look forward to your contributions.

About

A Java application for managing student information using AWT and Swing. The app allows adding, editing, deleting, sorting, viewing, exporting and importing student details with a user-friendly GUI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages