JPR Microproject
JPR Microproject
about
Page|1
Student register form
Page|2
Student register form
Page|3
Student register form
INDEX
Chapter 1 Synopsis
Chapter 2 Abstract
Chapter 3 Introduction
Chapter 4 Code
Chapter 5 Output
Chapter 6 Conclusions
Chapter 7 Reference
Page|4
Student register form
CHAPTER 1
SYNOPSIS
1.1Project Title
Student Registration Form
None
Prof. Kedar.A.L
Page|5
Student register form
Chapter2
Abstract:
The creation of a student registration form is a crucial component in the academic
process, serving as the gateway for students to enroll in courses that align with
their educational goals and progression. This form should be designed with a focus
on usability, efficiency, and the alignment of student choices with desired learning
outcomes. The primary aim of the student registration form is to collect relevant
personal, academic, and course-related information while ensuring that students
are enrolled in appropriate courses based on their prior academic history,
preferences, and degree requirements.
Page|6
Student register form
CHAPTER 3
1. Requirements GatheringPlanning
• Functional Requirements:
o Collect student personal information (name, contact details, gender, etc.).
o Allow students to select courses. o Validate input (e.g., valid email
format, GPA range).
o Save student registration details in a database.
• Non-Functional Requirements:
o The application should be responsive and user-friendly. o It should be
able to handle a reasonable volume of users. o The system should provide
clear feedback on successful registration or errors.
Page|7
Student register form
CHAPTER 4
Code
jframe=new
JFrame("STUDENT
REGISTATION FORM");
JLabel name1=new JLabel("FIRST NAME");
name1.setBounds(10,5,100,40
);
JTextField
firstname=new JTextField("");
firstname.setBounds(110,10,120,30);
name2.setBounds(10,30,100,50);
JTextField lastname=new JTextField(""); lastname.setBounds(110,40,1
20,30);
date.setBounds(10,60,110,50);
Page|8
Student register form
birthdate.setBounds(110,70,120,30);
mail.setBounds(10,90,110,50);
email.setBounds(110,100,120,30);
JLabel mob=new JLabel("MOBILE NO");
mob.setBounds(10,120,130,50);
JLabel gender=new
JLabel("GENDER");
gender.setBounds(10,155,60,50);
JRadioButton
button1=new JRadioButton("male");
button1.setBounds(110,170,8
0,20);
JRadioButton
button2=new
JRadioButton("female");
button2.setBounds(200,170,100,20);
JLabel address=new
JLabel("ADDRESS");
address.setBounds(10,180,60,50);
JTextArea address1=newJTextArea();
address1.setBounds(110,200,180,70);
Page|9
Student register form
JLabel city=new
JLabel("CITY");
city.setBounds(10,270,60,50);
JTextField city1=new
JTextField("");
city1.setBounds(110,280,120,30);
JLabel pincode=new
JLabel("PINCODE");
pincode.setBounds(10,300,60,50);
pincode1.setBounds(110,310,120,30);
JLabel state=new
JLabel("STATE");
state.setBounds(10,330,60,50);
JTextField state1=new
JTextField(""); state1.setBounds(110,340,120,30);
country.setBounds(10,360,60,50);
JTextField country1=new
JTextField("INDIA");
country1.setBounds(110,370,120,30);
P a g e | 10
Student register form
course.setBounds(10,390,150,50);
JRadioButton button3=new JRadioButton("BCA");
button3.setBounds(160,405,70,20);
JRadioButton button4=new
JRadioButton("B.COM");
button4.setBounds(230,405,70,20);
button5.setBounds(300,405,70,20);
JButton button6=new JButton("SUBMIT");
button6.setBounds(100,440,100,30);
jframe.add(name1);
jframe.add(name2);
jframe.add(firstname);
jframe.add(lastname);
jframe.add(date);
jframe.add(birthdate);
jframe.add(mail);
jframe.add(email);
jframe.add(mob);
jframe.add(no1);
jframe.add(gender);
jframe.add(button1);
jframe.add(button2);
jframe.add(address);
jframe.add(address1);
P a g e | 11
Student register form
jframe.add(city);
jframe.add(city1);
jframe.add(pincode);
jframe.add(pincode1);
jframe.add(state);
jframe.add(state1);
jframe.add(country);
jframe.add(country1);
jframe.add(course);
jframe.add(button3);
jframe.add(button4);
jframe.add(button5);
jframe.add(button6);
jframe.setLayout(null);
jframe.setSize(500,500);
jframe.setVisible(true);
jframe.setDefaultCloseOperation(jframe.EXIT_ON_CLOSE);
}
public static void main(Stringargs[])
{
demo7 java=new demo7();
}
}
P a g e | 12
Student register form
Chapter5
Output
P a g e | 13
Student register form
Chapter 6
Conclusion
In conclusion, the development of a Student Registration Form using Java
provides an efficient and user-friendly solution for streamlining the student
enrollment process. By leveraging Java Swing for the user interface and JDBC for
database interaction, the system ensures seamless data entry, real-time validation,
and secure storage of student information. The integration of course selection with
the ability to check prerequisites, validate data, and store it in a relational database
significantly enhances the overall student experience, making course registration
faster and more reliable.
P a g e | 14
Student register form
Chapter 7
References
Books:
Online Resources:
P a g e | 15