0% found this document useful (0 votes)
1 views3 pages

Insy 8312 - Java Assignment 1

Uploaded by

Archange
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views3 pages

Insy 8312 - Java Assignment 1

Uploaded by

Archange
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

INSY 8312: Java Programming

Practical Assignment
Submission Deadline: Sunday February 15, 2026 at 8:30 A.M

Problem: Design a Student Registration Form Using Java Swing


Problem Statement
A university intends to digitize its student registration process. Instead of filling paper forms,
student information will be entered through a computer-based registration form.
You are required to design the graphical user interface (GUI) of this registration system using
Java Swing. The interface must resemble a real-world registration form used in academic
institutions.
At this stage, the system does not need to process or store data. The assignment focuses only on
designing a professional-looking form.
Assignment Objective
Design a Swing JFrame form that allows entry of student registration details using appropriate
Swing controls and a well-organized layout.
Requirements
1. Form Title
The form must display a clear title:
“Student Registration Form”
2. Personal Information Section
Include labeled fields for:
• Student ID
• First Name
• Last Name
• Email Address
• Phone Number
• Address
Use:
• JLabel
• JTextField

Page 1 of 3
3. Gender Selection
Provide gender selection using:
• Male
• Female
Use:
• JRadioButton
• ButtonGroup to allow only one selection.
4. Academic Information Section
Provide selection lists for:
Department
Examples:
• Computer Science
• Software Engineering
• Information Technology
• Networking
• Business Information Technology
Year of Study
Examples:
• Year 1
• Year 2
• Year 3
• Year 4
Use:
• JComboBox
5. Courses or Skills Section
Allow multiple selections using checkboxes:
Examples:
• Java Programming
• Web Development
• Database Systems
• Networking
• Mobile Development
Use:

Page 2 of 3
• JCheckBox

6. Action Buttons Section


Add the following buttons at the bottom of the form:
• Save
• Reset
• Exit
Use:
• JButton
No actions are required for these buttons.
Design Rules
Ensure:
1. Proper alignment of labels and input fields.
2. Logical grouping of related information.
3. Adequate spacing between components.
4. No overlapping components.
5. Professional and readable interface.
6. Consistent label positioning.
7. Organized use of layout managers and panels.
Technical Constraints
• The Form must be implemented using Java Swing.
• You should use layout managers such as:
o GridLayout
o BorderLayout
o BoxLayout
o GridBagLayout
o or nested panels.
• No database or backend logic is required.
• No button event handling is required.

Page 3 of 3

You might also like