




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Institute management system using java programming
Typology: Thesis
1 / 110
This page cannot be seen from the preview
Don't miss anything!





























































































Student Name : Saugat Poudel Mr. Bhim Bahadur Sunar ID: 17031123 Lecturer, IT Group: L1C Date: 2018/22/
1. Introduction: While introducing about this project, it was based on real world programming. In this project we developed a program which can now display the Layout Form of a training institute where one or a multiple student can enrol for different courses namely Professional and Certification. This project is helpful to the Institutes and Collages to collect the information detail of a respective students who are going to enrol or enrolling in their respective course. Here In this project we made a form where a detail of two different courses were given and according to the students demand they can fill their enrollment idea on the form and submit it to the Institute department. In our previous course work we programmed the features of two different courses namely professional and Certification, we also had a course class which was the parent class and these two professional and certification class were child classes. Previously we made a functionality of that two classes and displayed the information by inspecting them in the program but it was not user friendly and hard to run for none IT back ground student and in this project work we made the layout of that same courses and kept them as a form where we used different name with text field to insert the requirement and buttons to submit and enroll the course. In this project I used array list to store the information of respective student according to the course. There are two course options for each student to enroll student simply choose a course and insert the given requirements and details of their own according to the information asked in the form and submit by clicking the buttons the appropriate messages are also shown if the student mistakenly input the wrong value and value which are not valid and ask to give another input with the dialogue box. After submitting the form by displaying all button student all the details of information stored can be visible in the txt file also can be printed in hardcopy. The information will be further stored in the array list. We made a GUI according to our older coursework format and we added the button functionality with text box now a student can choose the respective course and append the required information asked in the form like their name course no etc. and can submit within it. This program is helpful to the school and institute where students can enroll by filling the form of that respective course. Here to enroll in the professional course one should fill the form according to the question asked and will be submitted to the institute and this form will also store the information and gives the suitable output in the text file. To make this program I used java as programming language and Blue J for running java to my computer.
2. Class Diagram: 2.1 Class Training Institute (Child Class) Training Institute Instance variables: +f : JFrame +ProfessionalCourse : JLabel +ProfessionalDescription : JLabel +ProfessionalInstructor : JLabel
+CertificationExamCenter : JLabel +CertificationAwardedBy : JLabel +CertificationValidDuration : JLabel +ProfessionalDescriptionBox : JTextField +ProfessionalInstructorBox : JTextField +ProfessionalCourseDurationBox : JTextField +ProfessionalCourseNoBox : JTextField +ProfessionalDailyHourBox : JTextField +ProfessionalFeeBox : JTextField +ProfessionalDownPaymentBox : JTextField +ProfessionalStudentNameBox : JTextField +ProfessionalEnrollDateBox : JTextField +ProfessionalRoomBox : JTextField +CertificationDescriptionBox : JTextField +CertificationInstructorBox : JTextField +CertificationCourseDurationBox : JTextField +CertificationDailyHourBox : JTextField +CertificationFeeBox : JTextField +CertificationDownPaymentBox : JTextField +CertificationCourseNoBox : JTextField +CertificationStudentNameBox : JTextField +CertificationStartDateBox : JTextField +CertificationExamDateBox : JTextField +CertificationExamCenterBox : JTextField +CertificationAwardedByBox : JTextField +CertificationValidDurationBox : JTextField +ProfessionalAdd : JButton +ProfessionalComplete : JButton +ProfessionalEnrollStudent : JButton
3. Pseudo Code: 3.1. Pseudo Code for class Training Institute: CALL TrainingForm() DO f= CREATE Frame("Training Form") ProfessionalCourse= CREATE TEXT FIELD("Professional Course") SETTING ProfessionalCourse Bounds TO (10,10,150,20) ADD (ProfessionalCourse) TO f SeparatorOne= CREATE LINE Separator() SETTING SeparatorOne Bounds TO (10,30,1000,3) ADD (SeparatorOne) TO f ProfessionalDescription=CREATE Label ("Course Name:") SETTING ProfessionalDescription Bounds TO (20,50,80,40) ADD (ProfessionalDescription) TO f ProfessionalDescriptionBox=CREATE TextField() SETTING ProfessionalDescriptionBox Bounds TO (120,60,450,20) ADD (ProfessionalDescriptionBox) TO f ProfessionalInstructor=CREATE Label ("Instructor:") SETTING ProfessionalInstructor Bounds TO (20,70,80,50) ADD (ProfessionalInstructor) TO f
ProfessionalInstructorBox=CREATE TextField() SETTING ProfessionalInstructor Bounds TO (120,85,450,20) ADD (ProfessionalInstructorBox) TO f ProfessionalCourseDuration=CREATE label ("Total Hours:") SETTING ProfessionalCourseDuration TO Bounds (20,95,150,70) ADD (ProfessionalCourseDuration) TO f ProfessionalCourseDurationBox= CREATE TextField() SETTING ProfessionalCourseDurationBox TO Bounds (120,118,110,20) ADD (ProfessionalCourseDurationBox) TO f ProfessionalDailyHour=CREATE Label ("Daily Hour:") SETTING ProfessionalDailyHour TO Bounds (250,95,200,70) ADD (ProfessionalDailyHour) TO f ProfessionalDailyHourBox=CREATE TextField() SETTING ProfessionalDailyHourBox TO Bounds (350,118,220,20) ADD (ProfessionalDailyHourBox) TO f ProfessionalFee=CREATE Label ("Fee:") SETTING ProfessionalFee TO Bounds (20,120,150,70) ADD (ProfessionalFee) TO f
ProfessionalEnrollDate= CREATE Label ("Enroll Date:") SETTING ProfessionalEnrollDate TO Bounds (20,240,150,70) ADD (ProfessionalEnrollDate) TO f ProfessionalEnrollDateBox=CREATE TextField() SETTING ProfessionalEnrollDateBox TO Bounds (120,260,110,20) ADD (ProfessionalEnrollDateBox) TO f ProfessionalRoom= CREATE Label ("Room#:") SETTING ProfessionalRoom TO Bounds (250,240,200,70) ADD (ProfessionalRoom) TO f ProfessionalDownPayment= CREATE Label ("Down Payment:") SETTING ProfessionalDownPayment TO Bounds (20,270,100,70) ADD(ProfessionalDownPayment) TO f ProfessionalDownPaymentBox=CREATE TextField() SETTING ProfessionalDownPaymentBox TO Bounds (120,290,110,20) ADD (ProfessionalDownPaymentBox) TO f ProfessionalRoomBox=CREATE TextField() SETTING ProfessionalRoomBox TO Bounds (300,260,270,20) ADD (ProfessionalRoomBox) TO f
ProfessionalComplete=CREATE Button("Complete") SETTING ProfessionalComplete TO Bounds (280,290,130,20) ADD (ProfessionalComplete) TO f ProfessionalEnrollStudent=CREATE Button("Enroll Student") SETTING ProfessionalEnrollStudent TO Bounds (420,290,160,20) ADD (ProfessionalEnrollStudent) TO f CertificationCourse= CREATE Label ("Certification Course") SETTING CertificationCourse TO Bounds (10,330,150,20) ADD (CertificationCourse) TO f SeparatorTwo= CREATE Separator() SETTING SeparatorTwo TO Bounds (10,350,1000,3) ADD (SeparatorTwo) TO f CertificationDescription=CREATE Label ("Course Name:") SETTING CertificationDescription TO Bounds (20,350,80,40) ADD (CertificationDescription) TO f CertificationDescriptionBox=CREATE TextField() SETTING CertificationDescriptionBox TO Bounds (120,360,450,20) ADD (CertificationDescriptionBox) TO f
CertificationFee=CREATE LABEL ("Fee:") SETTING CertificationFee TO Bounds (20,430,150,70) ADD (CertificationFee) TO f CertificationFeeBox=CREATE TextField() SETTING CertificationFeeBox TO Bounds (120,450,110,20) ADD (CertificationFeeBox) TO f CertificationValidDuration=CREATE Label ("ValidDuration:") SETTING CertificationValidDuration TO Bounds (250,430,200,70) ADD (CertificationValidDuration) TO f CertificationValidDurationBox= CREATE TextField() SETTING CertificationValidDurationBox TO Bounds (350,450,220,20) ADD (CertificationValidDurationBox) TO f CertificationAdd=CREATE Button("Add") SETTING CertificationAdd TO Bounds (480,475,100,20) ADD (CertificationAdd) TO f CertificationCourseNo=CREATE Label ("CourseNo.#:") SETTING CertificationCourseNo TO Bounds (20,490,80,40) ADD (CertificationCourseNo) TO f
CertificationCourseNoBox= CREATE TextField() SETTING CertificationCourseNoBox TO Bounds (120,500,450,20) ADD (CertificationCourseNoBox) TO f CertificationStudentName=CREATE Label ("Student Name:") SETTING CertificationStudentName TO Bounds (20,510,100,40) ADD (CertificationStudentName) TO f CertificationStudentNameBox=CREATE TextField() SETTING CertificationStudentNameBox TO Bounds (120,525,450,20) ADD (CertificationStudentNameBox) TO f CertificationStartDate=CREATE Label ("Start Date:") SETTING CertificationStartDate TO Bounds (20,525,150,70) ADD (CertificationStartDate) TO f CertificationStartDateBox= CREATE TextField() SETTING CertificationStartDateBox TO Bounds (120,550,110,20) ADD (CertificationStartDateBox) TO f CertificationExamDate= CREATE Label ("Exam Date:") SETTING CertificationExamDate TO Bounds (250,525,200,70) ADD (CertificationExamDate) TO f
SETTING Size(600,1000) TO f SETTING Layout(null) TO f SETTING Visible(true) TO f ProfessionalAdd.addActionListener(this) CertificationAdd.addActionListener(this) ProfessionalComplete.addActionListener(this) ProfessionalEnrollStudent.addActionListener(this) CertificationEnrollStudent.addActionListener(this) CertificationClear.addActionListener(this) CertificationDisplayAll.addActionListener(this) END DO CALL actionPerformed(ActionEvent e) DO if (e.getSource()==ProfessionalAdd) DO addToProfessional() END DO else if(e.getSource()==CertificationAdd) DO addToCertification() END DO
else if(e.getSource()==ProfessionalComplete) DO CompleteProfessional() END DO else if(e.getSource()==ProfessionalEnrollStudent) DO ProfessionalEnrollStudent() END DO else if(e.getSource()==CertificationEnrollStudent) DO CertificationEnrollStudent() END DO else if(e.getSource()==CertificationClear) DO ClearAll() END DO else if(e.getSource()==CertificationDisplayAll) DO displayAll() END DO END DO CALL addToProfessional()