Professional Documents
Culture Documents
Ajp MP - Sai Ashish
Ajp MP - Sai Ashish
Guided By:
Ms. Zaibunnisa Malik
For the Subject:
ADVANCED JAVA PROGRAMMING
In Academic Year
2022-2023
tt
MAHARASHTRA STATE
BOARD OF TECHNICAL EDUCATION
CERTIFICATE
This is to certify that Mr. Sai Sanjeev Bhot Roll No. 21481, of Fifth Semester of Diploma in
COMPUTER ENGINEERING of Institute M. H. SABOO SIDDIK POLYTECHNIC (Code: 0002)
has completed the term work satisfactorily in course JAVA (22412) for the academic year 2022
to 2023 as prescribed in the curriculum.
Seal of
Institution
MAHARASHTRA STATE
BOARD OF TECHNICAL EDUCATION
Certificate
This is to certify that Mr. Khobragade Ashish Vilas Roll No. 21482, of Fourth Semester of
Diploma in COMPUTER ENGINEERING of Institute M. H. SABOO SIDDIK POLYTECHNIC
(Code: 0002) has completed the term work satisfactorily in course JAVA (22412) for the
academic year 2022 to 2023 as prescribed in the curriculum.
Seal of
Institution
ACKNOWLEDGMENT
We are really thankful to our Course teacher Ms. Zaibunnisa Malik for his invaluable guidance
and assistance, without which the accomplishment of the task would have never been possible
We also thank our Principal Dr. A. K. Kureshi , and HOD for giving the opportunity to explore
into the real world and realise the interrelation without which a Project can never progress. In
our present project we have chosen the topic-
We are also thankful to parents, friend and all staff of Computer Engineering Department, for
providing us relevant information and necessary clarifications, and great support.
Course Outcomes Achieved: - Develop program using GUI Framework (AWT and Swing). Handle events
of AWT and Swing components.Develop programs to handle events in java programming.Develop java
programs using networking concept.
(A) Process and Product Assessment (Convert above total marks out of 6 Marks)
1 Relevance to the course
2 Literature Review/information
collection
3 Comple on of the Target as
per project proposal
4 Analysis of Data and
representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presenta on/ Viva (Convert above total marks out of 4 Marks)
7 Presentation
8 Viva
……………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………
Dated Signature
ti
ti
ti
ti
Course Outcomes Achieved: - Develop program using GUI Framework (AWT and Swing). Handle events
of AWT and Swing components.Develop programs to handle events in java programming.Develop java
programs using networking concept.
(A) Process and Product Assessment (Convert above total marks out of 6 Marks)
1 Relevance to the course
2 Literature Review/information
collection
3 Comple on of the Target as
per project proposal
4 Analysis of Data and
representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presenta on/ Viva (Convert above total marks out of 4 Marks)
7 Presentation
8 Viva
……………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………
Dated Signature
ti
ti
ti
ti
Micro-Project Proposal
• Students will be able to accept or decline offers of admission using this portal.
• After accepting admission the documents uploaded will be scrutinized by university authorities
and any discrepancies notified.
• After all error flags are cleared the student will be able to make the first fee payment via
internet banking through the system, following which the system will assign the student a
unique roll number and register them as a student of the university.
• This system will automatically update the new student details into the university student
database.
Proposed Methodology
We will start to discuss about our topic among ourselves and will try to gather
information about student registration form We will research on internet for previous
made project on Student registration form and limitation in the existing project.
We’ll consult our guide for what field we have to add in our project and how our
project should work like in the end. Then we will create our project proposal and
submit it to our guide. After knowing of all the basic requirement in our project we
will then start on making the dummy code in VS Code. After completing the work in
with proper code and UI on AWT consulting with our guides remain. After showing
our micro project we will then create the required document that is needed in report
and will submit it to our project guide on the submission date.
Action Plan
(Sequence and time required for major activities. The following is for reference. The
Name of
Responsibl
Sr. Wee Planned Planned
No. Details of activity e Team
k Start date Finish date
Member
s
1& Discussion and finalization of the
1
2 topic.
2 3 Preparation of the abstract
3 4 Literature review
Submission of micro project proposal
4 5
(Annexure I)
Collection of the information on the
5 6
topic.
Collection of all relevant content /
6 7 materials for the execution of the
project.
Resources required
Sr.
Name of Resource/material Specifications Quantity Remarks
No.
Micro-Project Report
Rationale
Student registration forms are used to register students for classes, tutoring, extracurricular
activities, and various school Organisation. or higher education, your school can keep better
track of students using our free Student Registration Forms. Students can provide their personal
information, upload files, and even submit payments online. Submissions will be sent to your
Jotform account, and can then be sent to faculty and student leaders.process begins when
prospective students wish to enrol in the university. If they express interest in any course they
will be required to visit the university and can create a user account at the administration block.
This is the only part of the system where every user has to have human interaction, this is
intended as a security measure to prevent the creation of false user IDs. After verification of any
nationally approved photo ID proof a user account will be created and a scanned copy of the ID
proof will be uploaded into the profile. After this the user can upload all necessary documents on
the portal from the convenience of their home. The system will automatically validate all the
documents and the prospective student will be able to schedule a test date after successful
validation.
Literature Review
Sr.
Name of Resource/material Specifications Quantity Remarks
No.
4 NetBeans IDE 1
LOGIN PAGE
CODE :
package admin;
import javafx.application.Platform;
import javafx.scene.Node;
import menuBar.MenuBarControl;
import profileView.Info;
import profileView.ProfileView;
import database.DBConnection;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.Event;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.control.cell.PropertyValueFactory;
import javafx.stage.Stage;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.time.LocalDate;
import java.util.ResourceBundle;
/**
*/
@FXML
TableView<AdminTable> adminTableView;
@FXML
TableColumn<AdminTable,Integer> adminTableStudentNo;
@FXML
TableColumn<AdminTable,String> adminTableStudentName;
@FXML
TableColumn<AdminTable,String> adminTableStudentID;
@FXML
TableColumn<AdminTable,String> adminTableStudentDepartment;
@FXML
TableColumn<AdminTable,Double> adminTableStudentCGPA;
@FXML
TableColumn<AdminTable,String> adminTableStudentPhone;
@FXML
TableColumn<AdminTable,String> adminTableStudentDOB;
@FXML
TableColumn<AdminTable,String> adminTableGuardianName;
@FXML
TableColumn<AdminTable,String> adminTableGuardianEmail;
@FXML
TableColumn<AdminTable,String> adminTableGuardianPhone;
@FXML
TableColumn<AdminTable,String> adminTableStudentAddress;
@FXML
@FXML
@FXML
@FXML
@FXML
@FXML
@FXML
@FXML
@FXML
@FXML
@FXML
@FXML
@FXML
@FXML
@FXML
);*/
try {
connection = database.getConnection();
statement = connection.createStatement();
while(resultSet.next()){
adminTableData.add(new AdminTable(
resultSet.getInt("dbStudentSerialNo"),
resultSet.getString("dbStudentFname")+" "+resultSet.getString("dbStudentLname"),
resultSet.getString("dbStudentID"),
resultSet.getString("dbStudentDepartment"),
resultSet.getDouble("dbStudentCgpa"),
resultSet.getString("dbStudentPhone"),
resultSet.getString("dbStudentDOB"),
resultSet.getString("dbGuardianFname")+" "+resultSet.getString("dbGuardianLname"),
resultSet.getString("dbGuardianEmail"),
resultSet.getString("dbGuardianPhone"),
resultSet.getString("dbStudentAddress")
));
connection.close();
statement.close();
resultSet.close();
} catch (SQLException e) {
e.printStackTrace();
return adminTableData;
@Override
//getDataFromSqlAndAddToObservableList();
//Get data from adminTableData ObservableList and set thus data on JavaFX table column
adminTableStudentNo.setCellValueFactory(new
PropertyValueFactory<AdminTable,Integer>("adminTableDataNo")); // Point JavaFX adminTableStudentNo column at
AdminTable's adminTableDataNo variable Property
adminTableStudentName.setCellValueFactory(new PropertyValueFactory<AdminTable,
String>("adminTableDataStudentName"));
adminTableStudentID.setCellValueFactory(new PropertyValueFactory<AdminTable,
String>("adminTableDataStudentID"));
adminTableStudentDepartment.setCellValueFactory(new PropertyValueFactory<AdminTable,
String>("adminTableDataStudentDepartment"));
adminTableStudentCGPA.setCellValueFactory(new PropertyValueFactory<AdminTable,
Double>("adminTableDataStudentCGPA"));
adminTableStudentPhone.setCellValueFactory(new PropertyValueFactory<AdminTable,
String>("adminTableDataStudentPhone"));
adminTableStudentDOB.setCellValueFactory(new PropertyValueFactory<AdminTable,
String>("adminTableDataStudentDOB"));
adminTableGuardianName.setCellValueFactory(new PropertyValueFactory<AdminTable,
String>("adminTableDataGuardianName"));
adminTableGuardianEmail.setCellValueFactory(new PropertyValueFactory<AdminTable,
String>("adminTableDataGuardianEmail"));
adminTableGuardianPhone.setCellValueFactory(new PropertyValueFactory<AdminTable,
String>("adminTableDataGuardianPhone"));
adminTableStudentAddress.setCellValueFactory(new PropertyValueFactory<AdminTable,
String>("adminTableDataStudentAddress"));
@FXML
adminSetAllEnable();
isSetAdminAddNewButtonClick = true;
adminTFStudentFname.setDisable(false);
adminTFStudentLname.setDisable(false);
adminTFStudentID.setDisable(false);
adminCBStudentDepartment.setDisable(false);
adminTFStudentEmail.setDisable(false);
adminTFStudentPhone.setDisable(false);
adminTFStudentAddress.setDisable(false);
adminDPStudentDOB.setDisable(false);
adminTFGuardianFname.setDisable(false);
adminTFGuardianLname.setDisable(false);
adminTFGuardianEmail.setDisable(false);
adminTFGuardianPhone.setDisable(false);
adminSaveButtonClick.setDisable(false);
adminClearButtonClick.setDisable(false)
adminTFStudentFname.setDisable(true);
adminTFStudentLname.setDisable(true);
adminTFStudentID.setDisable(true);
adminCBStudentDepartment.setDisable(true);
adminTFStudentEmail.setDisable(true);
adminTFStudentPhone.setDisable(true);
adminTFStudentAddress.setDisable(true);
adminDPStudentDOB.setDisable(true);
adminTFGuardianFname.setDisable(true);
adminTFGuardianLname.setDisable(true);
adminTFGuardianEmail.setDisable(true);
adminTFGuardianPhone.setDisable(true);
adminSaveButtonClick.setDisable(true);
adminClearButtonClick.setDisable(true);
} @FXML
try{
connection = database.getConnection();
statement = connection.createStatement();
if(isSetAdminAddNewButtonClick){
"(`dbStudentFname`,`dbStudentLname`,`dbStudentID`,`dbStudentDOB`,"+
"`dbStudentDepartment`,`dbStudentEmail`,`dbStudentPhone`,`dbStudentAddress`,`dbGuardianFname`,`dbGuardianLname`,"
+
"`dbGuardianEmail`,`dbGuardianPhone`"+") "+
"values ('"+adminTFStudentFname.getText()+"','"+adminTFStudentLname.getText()
+"','"+adminTFStudentID.getText()
+"','"+adminDPStudentDOB.getValue()
+"','"+adminCBStudentDepartment.getValue().toString().trim()
+"','"+adminTFGuardianEmail.getText()
+"','"+adminTFStudentPhone.getText()
+"','"+adminTFStudentAddress.getText()
+"','"+adminTFGuardianFname.getText()
+"','"+adminTFGuardianLname.getText()
+"','"+adminTFGuardianEmail.getText()
+"','"+adminTFGuardianPhone.getText()
+"'); ");
else if (isSetAdminEditButtonClick){
"dbStudentFname = '"+adminTFStudentFname.getText()+"',"+
"dbStudentLname = '"+adminTFStudentLname.getText()+"',"+
"dbStudentID = '"+adminTFStudentID.getText()+"',"+
"dbStudentDOB = '"+adminDPStudentDOB.getValue()+"',"+
"dbStudentDepartment = '"+adminCBStudentDepartment.getValue().toString().trim()+"',"+
"dbStudentEmail = '"+adminTFStudentEmail.getText()+"',"+
"dbStudentPhone = '"+adminTFStudentPhone.getText()+"',"+
"dbStudentAddress = '"+adminTFStudentAddress.getText()+"',"+
"dbGuardianFname = '"+adminTFGuardianFname.getText()+"',"+
"dbGuardianLname = '"+adminTFGuardianLname.getText()+"',"+
"dbGuardianEmail = '"+adminTFGuardianEmail.getText()+"',"+
"dbGuardianPhone = '"+adminTFGuardianPhone.getText()+
temp+"';");
if (temp.equals(adminTFStudentID.getText())){
connection.close();
statement.close();
resultSet.close();
e.printStackTrace();
adminSetAllClear();
adminSetAllDisable();
isSetAdminEditButtonClick=false;
isSetAdminAddNewButtonClick = false;
adminTFStudentFname.clear();
adminTFStudentLname.clear();
adminTFStudentID.clear();
adminTFStudentEmail.clear();
adminTFStudentPhone.clear();
adminTFStudentAddress.clear();
adminTFGuardianFname.clear();
adminTFGuardianLname.clear();
adminTFGuardianEmail.clear();
adminTFGuardianPhone.clear();
@FXML
adminSetAllClear();
adminSetAllDisable();
isSetAdminEditButtonClick=false;
isSetAdminAddNewButtonClick = false;
@FXML
adminTFSearch.clear();
@FXML
adminTableView.setItems(getDataFromSqlAndAddToObservableList(sqlQuery));
@FXML
try {
connection = database.getConnection();
statement = connection.createStatement();
resultSet = statement.executeQuery(sqlQuery);
adminSetAllEnable();
while(resultSet.next()) {
adminTFStudentFname.setText(resultSet.getString("dbStudentFname"));
adminTFStudentLname.setText(resultSet.getString("dbStudentLname"));
adminTFStudentID.setText(resultSet.getString("dbStudentID"));
adminCBStudentDepartment.setValue(resultSet.getString("dbStudentDepartment"));
adminTFStudentEmail.setText(resultSet.getString("dbStudentEmail"));
adminTFStudentPhone.setText(resultSet.getString("dbStudentPhone"));
adminTFStudentAddress.setText(resultSet.getString("dbStudentAddress"));
try {
if (!(resultSet.getString("dbStudentDOB").isEmpty())) {
adminDPStudentDOB.setValue(LocalDate.parse(resultSet.getString("dbStudentDOB")));
adminDPStudentDOB.setValue(null);
adminTFGuardianFname.setText(resultSet.getString("dbGuardianFname"));
adminTFGuardianLname.setText(resultSet.getString("dbGuardianLname"));
adminTFGuardianEmail.setText(resultSet.getString("dbGuardianEmail"));
adminTFGuardianPhone.setText(resultSet.getString("dbGuardianPhone"));
temp=adminTFStudentID.getText();
isSetAdminEditButtonClick = true;
catch (SQLException e) {
e.printStackTrace();
@FXML
try {
connection = database.getConnection();
statement = connection.createStatement();
statement.executeUpdate(sqlQuery);
catch (SQLException e) {
e.printStackTrace();
//adminTableView.setItems(getDataFromSqlAndAddToObservableList(sqlQuery)) }
@FXML
loader.setLocation(getClass().getResource("/profileView/profileView.fxml"));
loader.load();
Parent p = loader.getRoot();
stage.setScene(new Scene(p));
profileView.setCurrentInfo(info);
stage.show(); }
@FXML
menuBarControl.close();
} @FXML
menuBarControl.about();
}@FXML
loader.setLocation(getClass().getResource("/admin/Course.fxml"));
loader.load();
Parent p = loader.getRoot();
stage.setScene(new Scene(p));
stage.setTitle("Course Panel");
stage.show();
@FXML
loader.setLocation(getClass().getResource("/admin/AdminTeacher.fxml"));
loader.load();
Parent pa = loader.getRoot();
stage.setScene(new Scene(pa));
stage.setTitle("Teacher Panel");
stage.show();
DATABASE CONNECTION :
package admin;
import database.DBConnection;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.Event;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.TextField;
import javafx.scene.control.cell.PropertyValueFactory;
import menuBar.MenuBarControl;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.time.LocalDate;
import java.util.ResourceBundle;
@FXML
TableView<CourseTable> adminCourseTableView;
@FXML
TableColumn<CourseTable,Integer> adminCourseTableNo;
@FXML
TableColumn<CourseTable,String> adminCourseTableCode;
@FXML
TableColumn<CourseTable,String> adminCourseTableTitle;
@FXML
TableColumn<CourseTable,Integer> adminCourseTableCredit;
@FXML
TableColumn<CourseTable,String> adminCourseTableSec;
@FXML
@FXML
@FXML
@FXML
@FXML
@FXML
@FXML
try {
connection = database.getConnection();
statement = connection.createStatement();
while(resultSet.next()){
courseTableData.add(new CourseTable(
resultSet.getInt("dbCourseSerial"),
resultSet.getString("dbCourseCode"),
resultSet.getString("dbCourseTitle"),
resultSet.getInt("dbCourseCredit"),
resultSet.getString("dbCourseSec")
));
connection.close();
statement.close();
resultSet.close();
} catch (SQLException e) {
e.printStackTrace();
return courseTableData;
@Override
adminCourseTableNo.setCellValueFactory(new
PropertyValueFactory<CourseTable,Integer>("courseTableDataNo"));
adminCourseTableCode.setCellValueFactory(new
PropertyValueFactory<CourseTable,String>("courseTableDataCode"));
adminCourseTableTitle.setCellValueFactory(new
PropertyValueFactory<CourseTable,String>("courseTableDataTitle"));
adminCourseTableCredit.setCellValueFactory(new
PropertyValueFactory<CourseTable,Integer>("courseTableDataCredit"));
adminCourseTableSec.setCellValueFactory(new
PropertyValueFactory<CourseTable,String>("courseTableDataSec"));
adminCourseTableView.setItems(getDataFromCourseAndAddToObservableList("SELECT * FROM
course;"));
@FXML
courseSetAllEnable();
isSetCourseAddNewButtonClick = true;
courseTFCode.setDisable(false);
courseTFTitle.setDisable(false);
courseTFCredit.setDisable(false);
courseTFSec.setDisable(false);
courseClearButtonClick.setDisable(false);
courseSaveButtonClick.setDisable(false);
courseTFCode.setDisable(true);
courseTFTitle.setDisable(true);
courseTFCredit.setDisable(true);
courseTFSec.setDisable(true);
courseClearButtonClick.setDisable(true);
courseSaveButtonClick.setDisable(true);
@FXML
try {
connection = database.getConnection();
statement = connection.createStatement();
resultSet = statement.executeQuery(sqlQuery);
courseSetAllEnable();
while(resultSet.next()) {
courseTFCode.setText(resultSet.getString("dbCourseCode"));
courseTFTitle.setText(resultSet.getString("dbCourseTitle"));
courseTFCredit.setText(resultSet.getString("dbCourseCredit"));
courseTFSec.setText(resultSet.getString("dbCourseSec"));
temp =courseTFCode.getText();
isSetCourseEditButtonClick = true;
catch (SQLException e) {
e.printStackTrace();
@FXML
try {
connection = database.getConnection();
statement = connection.createStatement();
adminCourseTableView.setItems(getDataFromCourseAndAddToObservableList("SELECT * FROM
course;"));
catch (SQLException e) {
e.printStackTrace();
@FXML
try{
connection = database.getConnection();
statement = connection.createStatement();
if(isSetCourseAddNewButtonClick){
courseTFCode.getText()+"','"+courseTFTitle.getText()+"','"+courseTFCredit.getText()
+"','"+courseTFSec.getText()+"') ;");
else if (isSetCourseEditButtonClick){
"dbCourseCode = '"+courseTFCode.getText()+"',"+
"dbCourseTitle = '"+courseTFTitle.getText()+"',"+
"dbCourseCredit = '"+courseTFCredit.getText()+"',"+
"dbCourseSec = '"+courseTFSec.getText()+
temp+"';");
connection.close();
statement.close();
resultSet.close();
e.printStackTrace();
courseSetAllClear();
courseSetAllDisable();
adminCourseTableView.setItems(getDataFromCourseAndAddToObservableList("SELECT * FROM
course;"));
isSetCourseAddNewButtonClick=false;
isSetCourseEditButtonClick = false;
courseTFCode.clear();
courseTFTitle.clear();
courseTFCredit.clear();
courseTFSec.clear();
@FXML
courseSetAllClear();
courseSetAllDisable();
isSetCourseEditButtonClick=false;
isSetCourseAddNewButtonClick = false;
@FXML
adminCourseTableView.setItems(getDataFromCourseAndAddToObservableList("SELECT * FROM
course;"));//sql Query
courseTFSearch.clear();
@FXML
adminCourseTableView.setItems(getDataFromCourseAndAddToObservableList(sqlQuery));
@FXML
menuBarControl.about();
@FXML
menuBarControl.close();
OUTPUT:
package student;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
RegistrationTableData {
return courseTableDataCode.get();
return courseTableDataCode;
this.courseTableDataCode.set(courseTableDataCode);
return courseTableDataTitle.get();
return courseTableDataTitle;
this.courseTableDataTitle.set(courseTableDataTitle);
return courseTableDataCredit.get();
return courseTableDataCredit;
this.courseTableDataCredit.set(courseTableDataCredit);
return courseTableDataSec.get();
return courseTableDataSec;
this.courseTableDataSec.set(courseTableDataSec);
OUTPUT:
package profileView;
import database.DBConnection;
import javafx.event.Event;
import javafx.fxml.FXML;
import javafx.scene.chart.LineChart;
import javafx.scene.chart.XYChart;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.text.Text;
import sun.tracing.NullProviderFactory;
import java.lang.reflect.InvocationTargetException;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
@FXML
@FXML
Text tID;
@FXML
Text tName;
@FXML
Text tDepartment;
@FXML
Text tCGPA;
@FXML
Text tDOB;
@FXML
Text tEmail;
@FXML
Text tVEmail;
@FXML
Text tPhone;
@FXML
Text tAddress;
@FXML
Text tGName;
@FXML
Text tGEmail;
@FXML
Text tGPhone;
Connection connection;
Statement statement;
ResultSet resultSet
@FXML
tID.setText(currentInfo.getId());
tName.setText(currentInfo.getName());
tDepartment.setLayoutX(tName.getLayoutX()+10+tName.getBoundsInParent().getWidth());//Adjust
Layout with name
tDepartment.setText(currentInfo.getDepartment());
tCGPA.setText(currentInfo.getCgpa());
tVEmail.setText(currentInfo.getVemail());
tDOB.setText(currentInfo.getDob());
tEmail.setText(currentInfo.getEmail());
tPhone.setText(currentInfo.getPhone());
tAddress.setText(currentInfo.getAddress());
tGName.setText(currentInfo.getGname());
tGEmail.setText(currentInfo.getGemail());
tGPhone.setText(currentInfo.getGphone());
try {
profilePic.setImage(image);
profilePic.setImage(new Image("/image/default-user-icon.png"));
this.currentInfo = currentInfo;
@FXML
gpaVisualization.getData().clear();
try {
connection = database.getConnection();
statement = connection.createStatement();
while (resultSet.next()){
if(resultSet.getDouble("dbStudent"+i+"thSemGpa")!=0.00){
gpaLineChart.getData().add(new XYChart.Data<String,Number>(i+"th",
resultSet.getDouble("dbStudent"+i+"thSemGpa")));
gpaLineChart.setName("All GPA");
gpaVisualization.getData().add(gpaLineChart);
}} catch (SQLException e) {
e.printStackTrace();
OUTPUT:
package teacher;
import javafx.beans.property.SimpleStringProperty;
return teacherTableDataID.get();
return teacherTableDataID;
this.teacherTableDataID.set(teacherTableDataID);
return teacherTableDataName.get();
return teacherTableDataName;
this.teacherTableDataName.set(teacherTableDataName);
return teacherTableDataGPA.get();
return teacherTableDataGPA;
this.teacherTableDataGPA.set(teacherTableDataGPA);
return teacherTableDataPhone.get();
return teacherTableDataPhone;
this.teacherTableDataPhone.set(teacherTableDataPhone);
return teacherTableDataEmail.get();
return teacherTableDataEmail;
this.teacherTableDataEmail.set(teacherTableDataEmail);
OUTPUT:
Log Book
Student Name: Sai Bhot
Day: 1 Duration: 2 HR
Today, we were informed to form groups of three students for the JAVA micro-project, we were
required to create an enhancive Micro project and ma’am specified that the group strength
should not exceed more than three students. And told us to search the micro-project topic, the
topic should be industry application based, internet-based, workshop-based, laboratory-based or
field-based. And told that the micro-project should encompass two or more Cos which are in
fact, an integration of PrO s, UO s, and ADO s. He also told the each group member will have to
maintain a dated diary consisting of individual contribution in the project work. The total
duration of the micro-project should not be less than 16 student engagement hours during the
course. And the micro-project should be submitted before the end of the semester to develop the
industry oriented Cos.
Day: 2 Duration: 2 HR
Today, we started searching the micro-project topic on the internet. We found many topics like
College Management System, Hotel Billing System, Medical Store stock management system ,
Some pin ball games and etc. We decided to work on Student Registration Form. Ma’am
explained to us the packages and classes to be made, the concept of various inheritance that
should be considered and begin the work on micro-project. We started discussing the topics to be
covered that has to be done to make the project complete. We decided to divide the work
between us and work individually to make the project.
Day: 3 Duration: 2 HR
We were supposed to design the overall structure of the project and we were working on the
actual code that has to be implemented. We decided to make different classes and using different
keywords like super final in the classes.
Day: 4 Duration: 2 HR
Today, we decided to implement classes. We decided to use user defined exception, etc.
Day: 5 Duration: 2 HR
As we decided to make a different classes and packages such as login, student class, exam class
so it became easy for us to divide the work. 1. I (Sai) was implementing the user defined
exception class and designing user defined package which will we further imported 2. Ashish
was implementing switch case and the final result class. And we decided to complete it on Day 6
and explain the code to everyone one. We started searching the best possible way that can be
implemented.
Day: 6 Duration: 2 HR
I finally completed my work and explained the form to my team member. We compiled and
interpreted the code .The code was error-free we got the output on our first attempt to run it.
Now, the final work was to create a report on the micro-project which we decided to make on
Day 7.
Day: 7 Duration: 2 HR
Ma’am instructed us the format of the report and according to it we started creating the report.
Ma’am told us to submit the report on specified date. The report was completed and we took the
hard copy of it.
Day: 8 Duration: 2 HR
We submitted the report. Creating such projects boosts our Communication skills, debugging
skills. It also gives us an experience of how to work in a team.
Day: 1 Duration: 2 HR
Today, we were informed to form groups of three students for the JAVA micro-project, we were
required to create an enhancive Micro project and ma’am specified that the group strength
should not exceed more than three students. And told us to search the micro-project topic, the
topic should be industry application based, internet-based, workshop-based, laboratory-based or
field-based. And told that the micro-project should encompass two or more Cos which are in
fact, an integration of PrO s, UO s, and ADO s. He also told the each group member will have to
maintain a dated diary consisting of individual contribution in the project work. The total
duration of the micro-project should not be less than 16 student engagement hours during the
course. And the micro-project should be submitted before the end of the semester to develop the
industry oriented Cos.
Day: 2 Duration: 2 HR
Today, we started searching the micro-project topic on the internet. We found many topics like
College Management System, Hotel Billing System, Medical Store stock management system ,
Some pin ball games and etc. We decided to work on Student Registration Form. Ma’am
explained to us the packages and classes to be made, the concept of various inheritance that
should be considered and begin the work on micro-project. We started discussing the topics to be
covered that has to be done to make the project complete. We decided to divide the work
between us and work individually to make the project.
Day: 3 Duration: 2 HR
We were supposed to design the overall structure of the project and we were working on the
actual code that has to be implemented. We decided to make different classes and using different
keywords like super final in the classes.
Day: 4 Duration: 2 HR
Today, we decided to implement classes. We decided to use user defined exception, etc.
Day: 5 Duration: 2 HR
As we decided to make a different classes and packages such as login, student class, exam class
so it became easy for us to divide the work. 1. Sai was implementing the user defined exception
class and designing user defined package which will we further imported 2. I (Ashish) was
implementing switch case and the final result class. And we decided to complete it on Day 6 and
explain the code to everyone one. We started searching the best possible way that can be
implemented.
Day: 6 Duration: 2 HR
I finally completed my work and explained the form to my team member. We compiled and
interpreted the code .The code was error-free we got the output on our first attempt to run it.
Now, the final work was to create a report on the micro-project which we decided to make on
Day 7.
Day: 7 Duration: 2 HR
Ma’am instructed us the format of the report and according to it we started creating the report.
Ma’am told us to submit the report on specified date. The report was completed and we took the
hard copy of it.
Day: 8 Duration: 2 HR
We submitted the report. Creating such projects boosts our Communication skills, debugging
skills. It also gives us an experience of how to work in a team.