# jeffsayson020-it/schedule-management-system architecture

> Architecture diagram of the GitHub repository jeffsayson020-it/schedule-management-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jeffsayson020-it/schedule-management-system
- Repository: https://github.com/jeffsayson020-it/schedule-management-system

## Overview

Find My Classroom is a Java Swing desktop application for students, faculty, and administrators to look up and manage class schedules. Its main workflow starts in the desktop interface, routes users to role-specific screens, and presents matching schedules; administrators can view, add, update, delete, and export schedules. The implementation is concentrated in one Java file, so several components share its path. The README documents the major capabilities and method organization; the available source excerpts confirm selected UI and export details, but do not expose every screen’s call wiring.

Main entry points: [`src/main/java/schedule/FindMyClassroom.java`](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java) (In-memory schedules), [`Schedules.txt`](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/Schedules.txt) (Schedules.txt)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Desktop interface"]
  node_launcher["Application launcher"]
  node_welcome["Welcome and menu"]
  node_ui_helpers["UI helpers and styling"]
end

subgraph group_lookup["Schedule lookup"]
  node_student_lookup["Student section lookup"]
  node_faculty_lookup["Faculty schedule lookup"]
  node_schedule_table["Schedule tables"]
end

subgraph group_management["Schedule management"]
  node_admin_login["Admin login"]
  node_admin_views["Admin schedule views"]
  node_schedule_crud["Schedule operations"]
  node_sorting["Subject sorting"]
  node_export["Schedule export"]
end

subgraph group_state["Schedule state"]
  node_schedule_data["In-memory schedules"]
  node_schedule_model["Schedule data model"]
  node_export_file["Schedules.txt<br/>[Schedules.txt]"]
end

node_user(("User"))
node_student(("Student"))
node_faculty(("Faculty"))
node_admin(("Administrator"))

node_user -->|"starts app"| node_launcher
node_launcher -->|"shows welcome"| node_welcome
node_welcome -->|"opens student screen"| node_student_lookup
node_welcome -->|"opens faculty login"| node_faculty_lookup
node_welcome -->|"opens admin login"| node_admin_login
node_student -->|"enters section"| node_student_lookup
node_faculty -->|"enters name"| node_faculty_lookup
node_admin -->|"authenticates"| node_admin_login
node_student_lookup -->|"matches section"| node_schedule_data
node_faculty_lookup -->|"matches teacher"| node_schedule_data
node_student_lookup -->|"shows results"| node_schedule_table
node_faculty_lookup -->|"shows results"| node_schedule_table
node_admin_login -->|"opens admin menu"| node_admin_views
node_admin_views -->|"views schedules"| node_schedule_data
node_admin_views -->|"sorts by subject"| node_sorting
node_admin_views -->|"manages schedules"| node_schedule_crud
node_schedule_crud -->|"adds updates deletes"| node_schedule_data
node_schedule_data -->|"holds records"| node_schedule_model
node_schedule_data -->|"exports schedules"| node_export
node_export -->|"writes file"| node_export_file
node_launcher -.->|"uses styling"| node_ui_helpers

click node_launcher "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_welcome "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_ui_helpers "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_student_lookup "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_faculty_lookup "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_schedule_table "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_admin_login "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_admin_views "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_schedule_crud "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_sorting "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_export "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_schedule_data "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_schedule_model "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java"
click node_export_file "https://github.com/jeffsayson020-it/schedule-management-system/blob/main/Schedules.txt"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_launcher,node_welcome,node_ui_helpers,node_user toneBlue
class node_student_lookup,node_faculty_lookup,node_schedule_table toneAmber
class node_admin_login,node_admin_views,node_schedule_crud,node_sorting,node_export toneMint
class node_schedule_data,node_schedule_model,node_export_file toneRose
class node_student,node_faculty,node_admin toneIndigo
```

## Components

### Desktop interface

- [Application launcher](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`
- [Welcome and menu](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`
- [UI helpers and styling](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`

### Schedule lookup

- [Student section lookup](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`
- [Faculty schedule lookup](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`
- [Schedule tables](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`

### Schedule management

- [Admin login](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`
- [Admin schedule views](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`
- [Schedule operations](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`
- [Subject sorting](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`
- [Schedule export](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`

### Schedule state

- [In-memory schedules](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`
- [Schedule data model](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/src/main/java/schedule/FindMyClassroom.java): `src/main/java/schedule/FindMyClassroom.java`
- [Schedules.txt](https://github.com/jeffsayson020-it/schedule-management-system/blob/main/Schedules.txt): `Schedules.txt`

### Other components

- **User**
- **Student**
- **Faculty**
- **Administrator**

## Connections

- User → Application launcher: starts app (evidence: `README.md`)
- Application launcher → Welcome and menu: shows welcome (evidence: `README.md`)
- Welcome and menu → Student section lookup: opens student screen (evidence: `README.md`)
- Welcome and menu → Faculty schedule lookup: opens faculty login (evidence: `README.md`)
- Welcome and menu → Admin login: opens admin login (evidence: `src/main/java/schedule/FindMyClassroom.java`)
- Student → Student section lookup: enters section (evidence: `README.md`)
- Faculty → Faculty schedule lookup: enters name (evidence: `README.md`)
- Administrator → Admin login: authenticates (evidence: `README.md`)
- Student section lookup → In-memory schedules: matches section (evidence: `src/main/java/schedule/FindMyClassroom.java`)
- Faculty schedule lookup → In-memory schedules: matches teacher (evidence: `README.md`)
- Student section lookup → Schedule tables: shows results (evidence: `README.md`)
- Faculty schedule lookup → Schedule tables: shows results (evidence: `README.md`)
- Admin login → Admin schedule views: opens admin menu (evidence: `README.md`)
- Admin schedule views → In-memory schedules: views schedules (evidence: `README.md`)
- Admin schedule views → Subject sorting: sorts by subject (evidence: `README.md`)
- Admin schedule views → Schedule operations: manages schedules (evidence: `README.md`)
- Schedule operations → In-memory schedules: adds updates deletes (evidence: `README.md`)
- In-memory schedules → Schedule data model: holds records (evidence: `README.md`)
- In-memory schedules → Schedule export: exports schedules (evidence: `README.md`)
- Schedule export → Schedules.txt: writes file (evidence: `src/main/java/schedule/FindMyClassroom.java`)
- Application launcher → UI helpers and styling: uses styling (evidence: `src/main/java/schedule/FindMyClassroom.java`)
