AJP MP
AJP MP
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
Group Details:-
1)
2)
3)
Mr
Mr
Mr
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.
The aim of the project is to develop a institute portal. For institute admin and the
students.
3.0 Requirement:-
1) IDE: VSCode/Notepad
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.*;
Login() {
setLayout(null);
username =
"admin"; password
= "admin";
LUsername = new JLabel("Username");
LUsername.setBounds(50, 50, 100, 20);
add(LUsername);
setSize(400,
300);
setVisible(true);
}
import javax.swing.*;
import java.sql.*;
import
java.awt.Frame;
import
java.awt.event.*;
Register() {
setLayout(null);
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);
}
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];
Data() {
setLayout(null);
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++) {
}
}
}
7.0 Output :-
8.0 Actual Resources Used :-
Software VSCode
•
1
Dated Signature: -