0% found this document useful (0 votes)
4 views

CS 1102-01 - AY2025-T1 Programming Assignment Unit 7

Computer Scicence Java Assignment

Uploaded by

Philip Osir
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

CS 1102-01 - AY2025-T1 Programming Assignment Unit 7

Computer Scicence Java Assignment

Uploaded by

Philip Osir
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Student Management System GUI Application

Overview
This document outlines the development of a GUI application for a Student Management
System (SMS). The SMS is designed to provide administrators with an intuitive interface for
managing student records, course enrollment, and grades. The application will utilize JavaFX,
leveraging its robust features to create a responsive and interactive user interface.

GUI Design
User Interface Components
The GUI will include the following components:
 Labels: For displaying information about each field.
 Text Fields: For entering student information such as name, ID, and course.
 Buttons: For performing actions like adding, updating, and viewing student records.
 Tables: For displaying lists of students, courses, and grades.
 Dropdown Menus: For selecting students and courses during enrollment and grading
processes.

Aesthetic and Navigation


The interface will be organized logically, with clear navigation paths for administrators. Each
functionality will be easily accessible through a menu bar or buttons. The layout will be
visually appealing, with consistent styling and spacing to enhance user experience.
Student Management Functionality
Adding New Students
 When the "Add Student" button is clicked, a form will appear to collect student
details. After entering the information, the student will be added to the system.
Updating Student Information
 The "Update Student" button will allow administrators to select a student and update
their information through a similar form.

Viewing Student Details


 The "View Student Details" button will display a table listing all students, allowing
administrators to select and view specific details.
Course Enrollment Functionality
Enrolling Students in Courses
 The GUI will provide a dropdown menu to select a course. Once a course is selected,
a list of eligible students will be displayed for enrollment.

Selecting Students
 Administrators can select a student from the list and enroll them in the chosen course
with a button click.

Grade Management Functionality


Assigning Grades
 The application will include a feature for assigning grades to students. Administrators
will select a student and a course from dropdown menus, then enter the grade to be
assigned.

Viewing Grades
 A list of courses and their corresponding grades will be displayed for each student,
allowing for easy grade management.

Dynamic Interface Updates


The application will update dynamically to reflect any changes made:
 When a student is added or updated, the student list will refresh automatically.
 Upon enrolling a student in a course or assigning a grade, the relevant displays will be
updated in real-time.

Error Handling
Robust error handling mechanisms will be implemented:
 Informative error messages will be displayed for invalid inputs.
 Dialog boxes will guide administrators in case of operational failures, ensuring a
smooth user experience.

Documentation
Comprehensive documentation will be provided, covering:
 The purpose and functionality of each GUI component.
 Instructions for running the program and interacting with the interface.
 Design choices and rationales for each element within the GUI.
Conclusion
This GUI application for the Student Management System will enhance administrative
efficiency through a user-friendly interface, robust error handling, and dynamic updates. The
application will be developed using JavaFX, ensuring a modern and interactive user
experience.

Program Code
package com.studentmanagement.view;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;

public class MainApp extends Application {


@Override
public void start(Stage primaryStage) {
Button btn = new Button("Say 'Hello World'");
btn.setOnAction(e -> System.out.println("Hello World!"));

StackPane root = new StackPane();


root.getChildren().add(btn);

Scene scene = new Scene(root, 300, 250);


primaryStage.setTitle("Student Management System");
primaryStage.setScene(scene);
primaryStage.show();
}

public static void main(String[] args) {


launch(args);
}
}
Screenshot

You might also like