# hlawutelo-mabasas/studentdata architecture

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

- Interactive diagram: https://gitdiagram.com/hlawutelo-mabasas/studentdata
- Repository: https://github.com/hlawutelo-mabasas/studentdata

## Overview

This is a small desktop student-record entry and display application. The user enters student details and marks in a Swing form; submission validates the student number and marks, creates a student record, and keeps it in an in-memory list. The user can display the stored records in the form or exit. The graph separates startup, interface actions, and the student data model. Evidence is limited to the supplied source excerpts; no persistent storage or external services are shown.

Main entry points: [`src/vut/StudentGUI.java`](https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentGUI.java) (Student form), [`src/vut/StudentApplication.java`](https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentApplication.java) (Application entry), [`src/vut/StudentClass.java`](https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentClass.java) (Student record)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_startup["Application startup"]
  node_application["Application entry"]
end

subgraph group_interface["Student interface"]
  node_gui["Student form<br/>[StudentGUI.java]"]
  node_submission["Submit and validate<br/>[StudentGUI.java]"]
  node_records["In-memory records<br/>[StudentGUI.java]"]
end

subgraph group_domain["Student data"]
  node_student["Student record<br/>[StudentClass.java]"]
end

node_user(("User"))

node_user -->|"launches"| node_application
node_application -->|"constructs"| node_gui
node_user -->|"enters and displays"| node_gui
node_gui -->|"dispatches submit"| node_submission
node_submission -->|"constructs"| node_student
node_submission -->|"adds record"| node_records
node_records -->|"reads fields"| node_student
node_records -->|"updates display"| node_gui

click node_application "https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentApplication.java"
click node_gui "https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentGUI.java"
click node_submission "https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentGUI.java"
click node_records "https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentGUI.java"
click node_student "https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentClass.java"

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_application,node_user toneBlue
class node_gui,node_submission,node_records toneAmber
class node_student toneMint
```

## Components

### Application startup

- [Application entry](https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentApplication.java): `src/vut/StudentApplication.java`

### Student interface

- [Student form](https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentGUI.java): `src/vut/StudentGUI.java`
- [Submit and validate](https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentGUI.java): `src/vut/StudentGUI.java`
- [In-memory records](https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentGUI.java): `src/vut/StudentGUI.java`

### Student data

- [Student record](https://github.com/hlawutelo-mabasas/studentdata/blob/master/src/vut/StudentClass.java): `src/vut/StudentClass.java`

### Other components

- **User**

## Connections

- User → Application entry: launches (evidence: `src/vut/StudentApplication.java`)
- Application entry → Student form: constructs (evidence: `src/vut/StudentApplication.java`)
- User → Student form: enters and displays (evidence: `src/vut/StudentGUI.java`)
- Student form → Submit and validate: dispatches submit (evidence: `src/vut/StudentGUI.java`)
- Submit and validate → Student record: constructs (evidence: `src/vut/StudentGUI.java`)
- Submit and validate → In-memory records: adds record (evidence: `src/vut/StudentGUI.java`)
- In-memory records → Student record: reads fields (evidence: `src/vut/StudentGUI.java`)
- In-memory records → Student form: updates display (evidence: `src/vut/StudentGUI.java`)
