Professional Documents
Culture Documents
EDUCATION
Mini-Project Report On
“ Student Registration Form Using GUI”
Submitted in particular fulfilment in the requirement for
5th semester
BY
Ajay Shriram Pawara (2000610098)
Under Guidance Of
Miss. Madhuri Varule
1
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION
CERTIFICATE
Certified that this is a Bonafide record of the project work titled
“ Student Registration Form Using GUI”
Industrial Training Language Project
Done by
2
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
Certificate
Place-Chopda.
Date: / /2021
3
Subject Teacher Head Of Department Principle of College
ACKNOWLEDGEMENT
Primarily I would thank God for being able to complete this project with
success. Then I would like to thank my principle Mr.V.N Borse and CSS
Teacher Mrs Madhuri Varule Mam ,Whose valuable guidance has been the
ones that helped me patch this project and make it full proof success .His
suggestions and his instructions have served as the Major contribution
towards the completion of the project.
Then I would like to thank to Our H.O.D sir Mr. D .M Fegade sir
his valuable help and for making resources available for the practical which
throw which we have created nice and welled project .
I would also like to thank to all my teacher and and non-teaching staff for
their contribution and for their help ,
And also thank to all my friends to making my mood fresh and energetic
And helping to me to the project through different ways ,as sharing your
knowledge to me ,
4
ABSTRACT
An organized and systematic office solution is essential for all universities and
organizations. There are many departments of administration for the
maintenance of college information and student databases in any institution. All
these departments provide various records regarding students. Most of these
track records need to maintain information about the students. This information
could be the general details like student name, address, performance, attendance
etc or specific information related to departments like collection of data.
Our work is useful for easy user interface. We are planning to uttilize the
powerful database management, data retrieval and data manipulation. We will
provides more ease for managing the data than manually maintaining in the
documents. Our work is useful for saving valuable time and reduces
the huge paper work
5
CONTENT
1.Acknowledgement
2.Abstract
3.content
4.Introduction
5.Objectives
6.program code
7.Output.
8.reference
9.conclusion.
6
INTRODUCTION
7
Project Objective
Approach: The concept is based on the GUI(graphical user interface). The idea
is to use Java Swing and AWT. Therefore, we need to define all the methods
based on functionality. The methods in the program are as follows:
Tools: front end;Java (GUI);
Methodology/Procedure:
To Gather The information Related to School For to create a UI page
like(photoes ,student Name ,student age and so on)
The project mainly used to create Multiple forms of UI of their
Separate School .
To Analysis the Collected information of student
Implementing the the collected document or setting the document in
Module for the project ,
To do coding on collected documents or implementing the gathering
the information in actual project .
Performing the project on Student Registration system
Storing the information .
8
Updating the information.
PROGRAM
9
lblClass1.setFont(new Font("Arial Black",Font.BOLD,15));
lblClass1.setForeground(Color.BLUE);
pnlheading.add(lblClass1);
cmbselect=new JComboBox();
cmbselect.setBounds(x+365,y+450,200,45);
cmbselect.setFont(new Font("Arial Black",Font.BOLD,15));
10
cmbselect.setBackground(Color.decode("#0000000"));
cmbselect.setForeground(Color.green);
cmbselect.addItem("Mahila Mandal Vidyalaya");
cmbselect.addItem("Kasturba Madhyamik vidyalay,Chopda");
cmbselect.addItem("Mimosa/Clara English Medium School,Chopda");
cmbselect.addItem("Pankaj Maha Vidyalay,Chopda");
cmbselect.addItem("Zilla Parishad Marathi UPP Prathmik Vidyalay,Chopda");
cmbselect.addItem("Zilla Parishad Marathi UPP Prathmik Vidyalay No:3,Chopda");
cmbselect.addItem("Zilla Parishad Marathi UPP Prathmik Vidyalay,Gartad");
cmbselect.addItem("....");
pnlheading.add(cmbselect);
y=y+50;
lblImage =new JLabel(new ImageIcon("collage.jpg"));
lblImage.setBounds(2,2,896,596);
lblImage.setForeground(Color.black);
pnlheading.add(lblImage);
cmbselect.addActionListener(this);
show();
}
public void actionPerformed(ActionEvent ae)
{
Object object=cmbselect.getSelectedItem();
if(object.toString().equals("Mahila Mandal Vidyalaya"))
{
ui1();
}
else if (object.toString().equals("Kasturba Madhyamik vidyalay,Chopda"))
{
ui2();
}
else if (object.toString().equals("Mimosa/Clara English Medium School,Chopda"))
11
{
ui3();
}
else if (object.toString().equals("Pankaj Maha Vidyalay,Chopda"))
{
ui4();
}
else if (object.toString().equals("Zilla Parishad Marathi UPP Prathmik
Vidyalay,Chopda"))
{
ui5();
}
else if (object.toString().equals("Zilla Parishad Marathi UPP Prathmik
Vidyalay No:3,Chopda"))
{
ui6();
}
else if (object.toString().equals("Zilla Parishad Marathi UPP Prathmik Vidyalay,Gartad"))
{
ui7();
}
else
{
JOptionPane.showMessageDialog(null,"You Have take Invalid choice");
}
}
CMAhilaMandal ui1()
{
CMAhilaMandal Mmandal=new CMAhilaMandal();
return(Mmandal);
}
CKasturbar ui2()
{
12
CKasturbar kasturbar=new CKasturbar();
return(kasturbar);
}
CMimosa ui3()
{
CMimosa mimosa=new CMimosa();
return(mimosa);
}
CPankage ui4()
{
CPankage pankaj=new CPankage();
return(pankaj);
}
CMARATHIUPP1 ui5()
{
CMARATHIUPP1 marathiup=new CMARATHIUPP1();
return(marathiup);
}
CMARATHIUpp3 ui6()
{
CMARATHIUpp3 marathiup3=new CMARATHIUpp3();
return(marathiup3);
}
CGARTAD ui7()
{
CGARTAD gartad=new CGARTAD();
return(gartad);
}
public static void main(String args[])
{
new MainUI();
}
13
}
//sub programs
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class CMimosa extends JFrame
{
JPanel pnlAll,pnlheading,pnlheadingImage,pnlheadingImage1,pnlData;
JLabel
lblHeading,lblheadingImage,lblheadingImage1,lblheading2,lblClass1,lblGender,lblName,lblsc
hoolName,lblImage,lblAge,lblClass,lblContact,lblAddress;
JTextField txtname;
JRadioButton rbtMale;
JButton btnSave,btnNew,btnCancel,btnEdit,btnDelete,btnUpdate;
JComboBox cmbselect,cmbselectgender;
CMimosa()
{
setSize(900,600);
setLayout(null);
int x=0;
int y=0;
int gap=5;
pnlAll= new JPanel();
pnlAll.setLayout(null);
pnlAll.setBackground(Color.decode("#4863A0"));
pnlAll.setBounds(x,y,900,600);
add(pnlAll);
y=5;
pnlheading=new JPanel();
pnlheading.setLayout(null);
pnlheading.setBackground(Color.decode("#86608E"));
pnlheading.setBounds(x+10,y,880,580);
pnlAll.add(pnlheading);
14
pnlheadingImage=new JPanel();
pnlheadingImage.setLayout(null);
pnlheadingImage.setBackground(Color.decode("#4B0150"));
pnlheadingImage.setBounds(x+10,y,120,115);
pnlheading.add(pnlheadingImage);
lblheadingImage =new JLabel(new ImageIcon("Unitylogo1.PNG"));
lblheadingImage.setBounds(0,0,120,115);
pnlheadingImage.add(lblheadingImage);
pnlheadingImage1=new JPanel();
pnlheadingImage1.setLayout(null);
pnlheadingImage1.setBackground(Color.decode("#4B0150"));
pnlheadingImage1.setBounds(x+750,y,120,115);
pnlheading.add(pnlheadingImage1);
lblheadingImage1 =new JLabel(new ImageIcon("Unity1.PNG"));
lblheadingImage1.setBounds(0,0,120,115);
pnlheadingImage1.add(lblheadingImage1);
lblHeading=new JLabel("MIMOSA/CLARA");
lblHeading.setBounds(x+230,y,500,40);
lblHeading.setFont(new Font("Algerian",Font.BOLD,55));
lblHeading.setForeground(Color.red);
pnlheading.add(lblHeading);
y=35;
lblheading2=new JLabel("ENGLISH MEDIUM SCHOOL");
lblheading2.setBounds(x+200,y+10,900,50);
lblheading2.setFont(new Font("Algerian",Font.BOLD,40));
lblheading2.setForeground(Color.red);
pnlheading.add(lblheading2);
y=y+35;
lblheading2=new JLabel("CHOPDA");
lblheading2.setBounds(x+400,y+10,900,40);
lblheading2.setFont(new Font("Algerian",Font.BOLD,30));
15
lblheading2.setForeground(Color.red);
pnlheading.add(lblheading2);
y=y+50+gap;
x=x+10;
pnlData=new JPanel();
pnlData.setLayout(null);
pnlData.setBackground(Color.decode("#B041FF"));
pnlData.setBounds(x,y,860,480);
pnlheading.add(pnlData);
int x1=10;
int y1=10;
btnSave=new JButton("Save");
btnSave.setBounds(x1,y1,135,60);
btnSave.setBackground(Color.decode("#151B54"));
btnSave.setFont(new Font("Plain",Font.BOLD,25));
btnSave.setForeground(Color.white);
pnlData.add(btnSave);
btnNew=new JButton("New");
btnNew.setBounds(x1+140,y1,135,60);
btnNew.setBackground(Color.decode("#151B54"));
btnNew.setFont(new Font("Plain",Font.BOLD,25));
btnNew.setForeground(Color.white);
pnlData.add(btnNew);
btnCancel=new JButton("Cancel");
btnCancel.setBounds(x1+280,y1,135,60);
btnCancel.setBackground(Color.decode("#151B54"));
btnCancel.setFont(new Font("Plain",Font.BOLD,25));
btnCancel.setForeground(Color.white);
pnlData.add(btnCancel);
btnEdit=new JButton("Edit");
btnEdit.setBounds(x1+420,y1,135,60);
btnEdit.setBackground(Color.decode("#151B54"));
16
btnEdit.setFont(new Font("Plain",Font.BOLD,25));
btnEdit.setForeground(Color.white);
pnlData.add(btnEdit);
btnDelete=new JButton("Delete");
btnDelete.setBounds(x1+560,y1,135,60);
btnDelete.setBackground(Color.decode("#151B54"));
btnDelete.setFont(new Font("Plain",Font.BOLD,25));
btnDelete.setForeground(Color.white);
pnlData.add(btnDelete);
btnUpdate=new JButton("Update");
btnUpdate.setBounds(x1+700,y1,135,60);
btnUpdate.setBackground(Color.decode("#151B54"));
btnUpdate.setFont(new Font("Plain",Font.BOLD,25));
btnUpdate.setForeground(Color.white);
pnlData.add(btnUpdate);
y1=y1+90+gap;
lblClass1=new JLabel("Select Class:");
lblClass1.setBounds(x1+10,y1,150,45);
lblClass1.setFont(new Font("Plain",Font.BOLD,15));
lblClass1.setForeground(Color.red);
pnlData.add(lblClass1);
cmbselect=new JComboBox();
cmbselect.setBounds(x1+150,y1,200,45);
cmbselect.setBackground(Color.pink);
pnlData.add(cmbselect);
y1=y1+50;
lblGender=new JLabel("Select Gender:");
lblGender.setBounds(x1+10,y1,150,45);
lblGender.setFont(new Font("Plain",Font.BOLD,15));
lblGender.setForeground(Color.red);
pnlData.add(lblGender);
17
rbtMale=new JRadioButton("Male");
rbtMale.setBounds(x1+150,y1,80,45);
rbtMale.setForeground(Color.black);
rbtMale.setFont(new Font("Plain",Font.BOLD,20));
rbtMale.setBackground(Color.pink);
pnlData.add(rbtMale);
rbtMale=new JRadioButton("Female");
rbtMale.setBounds(x1+250,y1,100,45);
rbtMale.setForeground(Color.black);
rbtMale.setFont(new Font("Plain",Font.BOLD,20));
rbtMale.setBackground(Color.pink);
pnlData.add(rbtMale);
y1=y1+50;
lblName=new JLabel("Student Name");
lblName.setBounds(x1+10,y1,150,45);
lblName.setFont(new Font("Plain",Font.BOLD,15));
lblName.setForeground(Color.red);
pnlData.add(lblName);
txtname=new JTextField();
txtname.setBounds(x1+150,y1,200,45);
txtname.setBackground(Color.pink);
pnlData.add(txtname);
lblschoolName=new JLabel(" The Legend School Mimosa/Clara ");
lblschoolName.setFont(new Font("Vladimir Script",Font.BOLD,25));
lblschoolName.setForeground(Color.red);
lblschoolName.setBounds(x1+420,y1-50,410,210);
pnlData.add(lblschoolName);
18
lblAge=new JLabel("Student Age");
lblAge.setBounds(x1+10,y1,150,45);
lblAge.setFont(new Font("Plain",Font.BOLD,15));
lblAge.setForeground(Color.red);
pnlData.add(lblAge);
txtname=new JTextField();
txtname.setBounds(x1+150,y1,200,45);
txtname.setBackground(Color.pink);
pnlData.add(txtname);
y1=y1+50;
lblClass=new JLabel("Student Class");
lblClass.setBounds(x1+10,y1,150,45);
lblClass.setFont(new Font("Plain",Font.BOLD,15));
lblClass.setForeground(Color.red);
pnlData.add(lblClass);
txtname=new JTextField();
txtname.setBounds(x1+150,y1,200,45);
txtname.setBackground(Color.pink);
pnlData.add(txtname);
y1=y1+50;
lblContact=new JLabel("Student Contact");
lblContact.setBounds(x1+10,y1,150,45);
lblContact.setFont(new Font("Plain",Font.BOLD,15));
lblContact.setForeground(Color.red);
pnlData.add(lblContact);
txtname=new JTextField();
txtname.setBounds(x1+150,y1,200,45);
txtname.setBackground(Color.pink);
txtname.setFont(new Font("Plain",Font.BOLD,20));
pnlData.add(txtname);
19
y1=y1+50;
lblAddress=new JLabel("Student Address:");
lblAddress.setBounds(x1+10,y1,150,45);
lblAddress.setFont(new Font("Plain",Font.BOLD,15));
lblAddress.setForeground(Color.red);
pnlData.add(lblAddress);
txtname=new JTextField();
txtname.setBounds(x1+150,y1,200,45);
txtname.setBackground(Color.pink);
pnlData.add(txtname);
show();
}
public static void main(String args[])
{
new CMimosa();
}
}
20
OUTPUT
21
22
23
24
REFERENCE
25
CONCLUSION
26