0% found this document useful (0 votes)
4 views

AJP MP

The document outlines a micro project on developing an institute portal using Advanced Java Programming at Sahyadri Polytechnic Sawarde. It includes details such as project aims, requirements, course outcomes, and a brief description of the portal's functionalities. The project involves creating a registration form and login system using Java Swing, along with database integration for managing student data.

Uploaded by

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

AJP MP

The document outlines a micro project on developing an institute portal using Advanced Java Programming at Sahyadri Polytechnic Sawarde. It includes details such as project aims, requirements, course outcomes, and a brief description of the portal's functionalities. The project involves creating a registration form and login system using Java Swing, along with database integration for managing student data.

Uploaded by

Dayanand Tawade
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Sahyadri Shikshan Sanstha’s

SAHYADRI POLYTECHNIC SAWARDE

A
MICRO
PROJECT
ON
Institute portal

SUBMITTED TO
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATIONIN THE PARITAL FULFILLMENT OF THE
REQUIRMENT FOR DEPARTMENT OF INFORMATION TECHNOLOGY/ COMPUTER ENGINEERING

SUBMITTED BY
Mr . T a w a d e D a y a n a n d S a n t o s h
Mr . Surve Yash Sandesh
Mr. Pachakle Aditya Sandip
UNDER THE GUINDANCE OF
MR. JADHAV V.S.

2024-2025
SAHYADRI POLYTECNIC SAWARDE
MICRO PROJECT

Academic Year: - 2024-25


Program: TY IF/CO Program Code: IF5I /CO5I
Course: Advance java programming Course Code: 22517

Group Details:-

Sr. Name of group Member Roll Enrolment No. Seat No.


No. No.

1)

2)

3)

Name of Guide: - Mr Jadhav V.S.


MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
CERTEFICATE
This is to certify that

 Mr
 Mr
 Mr

Of Fifth semester of Diploma in Information Technology/ Computer Engineering of Institute,


SAHYADRI POLYTECHNIC, SAWARDE (CODE – 0108) has completed the MICRO
PROJECT satisfactorily in the subject Advance Java Programming (22517) for the Academic
year 2024-2025 as per curriculum.

Place : sawarde Enrollment no:

Date: Exam Seat No.:

Subject Teacher HOD Principal


1.0 Brief Introduction:-

This is a simple micro project based on Advance Java Programming using swing.
In this simple Registration form we can used simple and basic instruction for user can
access easy to fill the form. In registration form which includes all the buttons and field
in one form.

2.0 Aim of Micro Project:-

The aim of the project is to develop a institute portal. For institute admin and the
students.

3.0 Requirement:-

1) IDE: VSCode/Notepad

2) Computer System: i3 Processor 4GB RAM SSD 256GB

3) JDK Version: JDK 7

4) Database: MS ACCESS DATABASE

4.0 Course Outcomes :-

• To study and implement the programs in the Advance Java Programming.

• Developed java program to solve problems using procedure oriented approach.

• Implements the Swing in Advance Java Programming.

• Developed java programs the create different types of form.

• Developed java program using Swing and AWT.

5.0 Brief Description:-

An institute portal is a secure and centralized online platform designed for educational
institutions such as schools, colleges, and universities. It serves as a digital hub that offers
various features and functionalities to streamline administrative, academic, and
communication processes.
6.0 Actual Recourse Used :-

Part 1:

import javax.swing.*;
import java.awt.event.*;
import java.sql.*;

public class Login extends JFrame implements ActionListener


{ String username, password;
JLabel LUsername, LPassword;
JTextField TUsername;
JPasswordField TPassword;
JButton BSubmit, BRegister;

public static void main(String[] args) {


Login l = new Login();
}

Login() {
setLayout(null);

username =
"admin"; password
= "admin";
LUsername = new JLabel("Username");
LUsername.setBounds(50, 50, 100, 20);
add(LUsername);

TUsername = new JTextField();


TUsername.setBounds(170, 50, 100,
20); add(TUsername);

LPassword = new JLabel("Password");


LPassword.setBounds(50, 90, 100, 20);
add(LPassword);

TPassword = new JPasswordField();


TPassword.setBounds(170, 90, 100,
20); add(TPassword);
BSubmit = new JButton("Submit");
BSubmit.setBounds(50, 140, 100, 20);
BSubmit.addActionListener(this);
add(BSubmit);

BRegister = new JButton("Register");


BRegister.setBounds(170, 140, 100,
20);
BRegister.addActionListener(this);
add(BRegister);

setSize(400,
300);
setVisible(true);
}

public void actionPerformed(ActionEvent


e){ String u=TUsername.getText()+"";
String p=TPassword.getText()+"";
if(e.getSource() == BSubmit){
if(u.equals(username) && p.equals(password)){
dispose();
Data d=new Data();
}
else{
TUsername.setText("")
;
TPassword.setText("")
; JFrame fr=new
JFrame();
JOptionPane.showMessageDialog(fr,"Wrong Password");
}
}
else if(e.getSource() == BRegister){
dispose();
Register re= new Register();
}
}
}
Part 2:

import javax.swing.*;
import java.sql.*;
import
java.awt.Frame;
import
java.awt.event.*;

public class Register extends JFrame implements


ActionListener { JLabel LFname, LMname, LLname, LDOB,
LGender, LMobileNumber,
LAddress, LEmail, LCoursePreference;
JTextField TFname, TMname, TLname, TMobileNumber, TEmail,
TDOB; JTextArea TAAddress;
JComboBox CBGender,
CBCoursePreference; JButton
BRegister, BClear, BAdminLogin;

public static void main(String[] args) {


Register d = new Register();
}

Register() {
setLayout(null);

LFname = new JLabel("First


Name"); LFname.setBounds(50,
50, 100, 20); add(LFname);

TFname = new JTextField();


TFname.setBounds(170, 50, 150,
20); add(TFname);

LMname = new JLabel("Middle


Name"); LMname.setBounds(50, 90,
100, 20); add(LMname);

TMname = new JTextField();


TMname.setBounds(170, 90, 150,
20); add(TMname);
LLname = new JLabel("Last
Name"); LLname.setBounds(50,
130, 100, 20); add(LLname);

TLname = new JTextField();


TLname.setBounds(170, 130, 150, 20);
add(TLname);

LDOB = new JLabel("Birth Date");


LDOB.setBounds(50, 170, 100,
20); add(LDOB);

TDOB = new JTextField();


TDOB.setBounds(170, 170, 150,
20); add(TDOB);

LGender = new JLabel("Gender");


LGender.setBounds(50, 210, 100, 20);
add(LGender);

CBGender = new JComboBox();


CBGender.addItem("Select Gender");
CBGender.addItem("Male");
CBGender.addItem("Female");
CBGender.setBounds(170, 210, 150,
20); add(CBGender);

LMobileNumber = new JLabel("Mobile Number");


LMobileNumber.setBounds(50, 250, 100, 20);
add(LMobileNumber);

TMobileNumber = new JTextField();


TMobileNumber.setBounds(170, 250, 150, 20);
add(TMobileNumber);

LAddress = new JLabel("Address");


LAddress.setBounds(50, 290, 100, 20);
add(LAddress);
TAAddress = new JTextArea(50, 50);
TAAddress.setBounds(170, 290, 150,
100); add(TAAddress);

LEmail = new JLabel("E-Mail");


LEmail.setBounds(50, 430, 100,
20); add(LEmail);

TEmail = new JTextField();


TEmail.setBounds(170, 430, 150, 20);
add(TEmail);

LCoursePreference = new JLabel("Course");


LCoursePreference.setBounds(50, 470, 100, 20);
add(LCoursePreference);

String[] courses = { "Select Course", "DAS In Java", "DAS


In C++", "DAS In Python", "Web Development",
"Machine Learning", "Software Testing", "Networking
Basics" };
CBCoursePreference = new JComboBox(courses);
CBCoursePreference.setBounds(170, 470, 150, 20);
add(CBCoursePreference);

BRegister = new JButton("Register");


BRegister.setBounds(50, 520, 100,
20);
BRegister.addActionListener(this);
add(BRegister);

BAdminLogin = new JButton("Institute


Login"); BAdminLogin.setBounds(170, 520,
150, 20);
BAdminLogin.addActionListener(this);
add(BAdminLogin);

setSize(500,
700);
setVisible(true);
}
public void actionPerformed(ActionEvent
e) { String FNAME = TFname.getText()
+ ""; String MNAME = TMname.getText()
+ ""; String LNAME = TLname.getText()
+ ""; String DOB = TDOB.getText() +
"";
String GENDER = CBGender.getSelectedItem()
+ ""; String NUM = TMobileNumber.getText()
+ ""; String ADDRESS = TAAddress.getText()
+ ""; String EMAIL = TEmail.getText() + "";
String COURSE = CBCoursePreference.getSelectedItem() + "";

if (e.getSource() == BRegister)
{ try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con =
DriverManager.getConnection("jdbc:odbc:Student_Data"
); Statement st =
con.createStatement();
String sql = "INSERT INTO Detail VALUES ('" +
FNAME + "','" + MNAME + "','" + LNAME + "','" + DOB
+ "','" + GENDER + "','" + NUM + "','" +
ADDRESS + "','" + EMAIL + "','" + COURSE + "')";
int rs = st.executeUpdate(sql);
} catch (Exception ee) {
System.out.println(ee);
}

} else if (e.getSource() == BAdminLogin) {


dispose();
Login l = new Login();
}
}
}
Part 3:

import javax.swing.*;
import
javax.swing.table.DefaultTableModel;
import java.awt.event.*;
import java.sql.*;
public class Data extends JFrame implements ActionListener {
JButton BRefresh;
JButton BBackPage;
JTable table;
String[] col = { "First Name", "Middle Name", "Last Name",
"Birth Date", "Gender", "Mobile Number", "Address",
"E-Mail", "Course" };
String[][] data = new String[10]
[10];

public static void main(String[] args)


{ Data d = new Data();
}

Data() {
setLayout(null);

BRefresh = new JButton("Read Data");


BRefresh.setBounds(340, 50, 100, 20);
BRefresh.addActionListener(this);
add(BRefresh);

BBackPage = new JButton("Back");


BBackPage.setBounds(470, 50, 100,
20);
BBackPage.addActionListener(this);
add(BBackPage);

setSize(1000, 700);
setVisible(true);
}
public void actionPerformed(ActionEvent
e) { if (e.getSource() == BRefresh) {
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDrive
r");
Connection con =
DriverManager.getConnection("jdbc:odbc:Student_Data");
Statement st = con.createStatement();
String sql = "select * from Detail";
ResultSet rs = st.executeQuery(sql);

int row = 0;
while (rs.next())
{ int col = 0;
for (int i = 1; i <= 9; i++) {

data[row][col] = rs.getString(i) + "";


col++;
}
row++;
}
table = new JTable(data, col);
JScrollPane sp = new
JScrollPane(table,
JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
sp.setBounds(10, 100, 950,
500); add(sp);
} catch (Exception ee) {
System.out.println(ee);
}
} else if (e.getSource() ==
BBackPage) { dispose();
Login l = new Login();

}
}
}
7.0 Output :-
8.0 Actual Resources Used :-

Name of Resources and


Sr.
Material Specification Qty
No.

Computer System I3 Processor 4GB RAM 1



256 GB SSD

Software VSCode

1

9.0 Skill Developed :-

• Developed program using awt , swing and sql.

• Handle events of awt and swing components.

• Developed programs tohandle events in java programing.


Evaluation Sheet for Micro Project
Name of Program – TY-IF /CO Semester -5th
Course Title – Advance Java Programming. Code - 22517
Title of Micro Project – Institute portal
Course Outcomes Achieved:
• Increase problem solving skill.
• Develop program using GUI framework(awt,swing)
• Handle event of swing components.

Sr. Characteristics to beassessed Poor( Average Good Excellent


No. Marks (Marks4- (Marks (Marks
1-3) 5) 6- 8) 9-10)
1 Relevance to the course
2 Literature survey /Information collection
3 Completion of the target as per project proposal
4 Analysis of data and representation
5 Quality of prototype / Model
6 Report Presentation
Process and Product Assessment ( C convert above total
marks out of 4 marks)
8 Presentation
9 Viva
Individual Presentation/Viva (Convert above total marks
out of 4 marks

• Process and Product • Individual


Assessment (6 marks) Presentation/Viva. (4 Total
marks) Marks 10

Comments/ Suggestion above team work/ leadership/ inter-personal

Communication (if any)


Name and designation of the Teacher: -

Dated Signature: -

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy