0% found this document useful (0 votes)
7 views30 pages

Project Report

On IT class 12

Uploaded by

jhaji2300
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)
7 views30 pages

Project Report

On IT class 12

Uploaded by

jhaji2300
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/ 30

DAV PUBLIC SCHOOL

HARPUR AILOTH, SAMASTIPUR 848101

A PROJECT REPORT
ON
“ELEARNING QUIZ SYSTEM”

Submitted in partial fulfillment of AISSCE 2023-2024

INFORMATION TECHNOLOGY PRACTICAL

SUBMITTED BY UNDER THE GUIDANCE OF

Mrs. Swati Swarnim


(TGT)
CERTIFICATE
This is to certify that
Miss/Master ____________________________ ,
a student of Class XII SCIENCE, has
successfully completed the project on

“ELEARNING QUIZ SYSTEM” under the


guidance of Mrs. Swati Swarnim (TGT Computer
Science) during the year 2023-2024 in partial
fulfillment of IT(Information Technology-802)
practical examination conducted by AISSCE, NEW
DELHI.

Internal Examiner External Examiner


Signature Signature

E-LEARNING QUIZ SYSTEM


ID – SHEET

Roll No : ………………………….

Name of Student : ………………………….

Address : ………………………….
………………………….

Phone No : ………………………….

Email Address : ………………………….

Supervisor : ………………………….

Project Title : ………………………….

Front End Tool : ………………………….

Back End Tool : ………………………….

E-LEARNING QUIZ SYSTEM


ACKNOWLEDGEMENT
Firstly,I would like to thank to the
Principal/ARO Sir “Mr. Niraj Kumar Singh” for
his support in giving the opportunity to choose
the subject IT and developing the project. I
would like to thank my parents for supporting
me in development of this project.
I would also like to give my outmost pleasure
to express our sincere thanks to our Computer
Science Teacher “Mrs. Swati Swarnim” in
providing a helping hand in this project.

Her unflagging patience, creativity and


immense knowledge that she shared with us
have proved highly beneficial to us and have
made our Project possible and successful.

Name :

E-LEARNING QUIZ SYSTEM


TABLE OF CONTENTS

 Introduction

 Priliminary Design

 Form Layouts

 Database Design

 Implementation

 Bibliography

E-LEARNING QUIZ SYSTEM


INTRODUCTION

This program is designed for the use of


E-Learning Quiz System and its functioning.
Main Objective of this project is to facilitate
the transactions through use of electronic
medium. We use Java Netbeans 8.0 Software
and Mysql to programming our project.

E-LEARNING QUIZ SYSTEM


PRELIMINARY
DESIGN
(Graphical User Interface)

E-LEARNING QUIZ SYSTEM


FORM
LAYOUTS

E-LEARNING QUIZ SYSTEM


E-LEARNING QUIZ SYSTEM
E-LEARNING QUIZ SYSTEM
E-LEARNING QUIZ SYSTEM
DATABASE
DESIGN

E-LEARNING QUIZ SYSTEM


E-LEARNING QUIZ SYSTEM
IMPLEMENTATION

E-LEARNING QUIZ SYSTEM


mport com.mysql.jdbc.Connection;
import com.mysql.jdbc.Statement; jDialog1Layout.createParallelGroup(javax.swing.Gr
import java.sql.DriverManager; oupLayout.Alignment.LEADING)
import java.sql.ResultSet; .addGap(0, 400, Short.MAX_VALUE)
);
public class login extends javax.swing.JFrame {
import java.sql.*;
/** Creates new form login */ import javax.swing.JOptionPane;
public login() { import javax.swing.table.*;
initComponents(); import javax.swing.DefaultComboBoxModel;
}

/** This method is called from within the


constructor to public class Login extends javax.swing.JFrame {
* initialize the form.
* WARNING: Do NOT modify this code. The /** Creates new form Login */
content of this method is public Login() {
* always regenerated by the Form Editor. initComponents();
*/ }
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed"
desc="Generated Code"> /** This method is called from within the
private void initComponents() { constructor to
* initialize the form.
jPopupMenu1 = new * WARNING: Do NOT modify this code. The
javax.swing.JPopupMenu(); content of this method is
jPopupMenu2 = new * always regenerated by the Form Editor.
javax.swing.JPopupMenu(); */
jDialog1 = new javax.swing.JDialog();
jLabel3 = new javax.swing.JLabel(); // <editor-fold defaultstate="collapsed"
jLabel2 = new javax.swing.JLabel(); desc="Generated Code">
idtf = new javax.swing.JTextField(); private void initComponents() {
PassWordTF = new
javax.swing.JPasswordField(); Start = new javax.swing.JFrame();
jLabel4 = new javax.swing.JLabel(); wel = new javax.swing.JLabel();
jLabel1 = new javax.swing.JLabel(); jLabel1 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel(); OrderHis = new javax.swing.JLabel();
LogInB = new javax.swing.JButton(); jLabel50 = new javax.swing.JLabel();
invalidl = new javax.swing.JLabel(); Orderlbl = new javax.swing.JLabel();
invalid = new javax.swing.JLabel(); jLabel8 = new javax.swing.JLabel();
jSeparator1 = new javax.swing.JSeparator();
javax.swing.GroupLayout jDialog1Layout = jLabel9 = new javax.swing.JLabel();
new jMenuBar2 = new javax.swing.JMenuBar();
javax.swing.GroupLayout(jDialog1.getContentPane jMenu3 = new javax.swing.JMenu();
()); jMenu1 = new javax.swing.JMenu();
jMenuItem1 = new javax.swing.JMenuItem();
jDialog1.getContentPane().setLayout(jDialog1Layo jMenuItem10 = new javax.swing.JMenuItem();
ut); jMenuItem8 = new javax.swing.JMenuItem();
jDialog1Layout.setHorizontalGroup( jMenuItem2 = new javax.swing.JMenuItem();

E-LEARNING QUIZ SYSTEM


jMenuItem3 = new javax.swing.JMenuItem(); jButton2 = new javax.swing.JButton();
jMenuItem4 = new javax.swing.JMenuItem(); jLabel2 = new javax.swing.JLabel();
jMenu2 = new javax.swing.JMenu(); smallradio = new javax.swing.JRadioButton();
jMenuItem13 = new javax.swing.JMenuItem(); mediumradio = new
jMenuItem14 = new javax.swing.JMenuItem(); javax.swing.JRadioButton();
jMenuItem15 = new javax.swing.JMenuItem(); jPanel11 = new javax.swing.JPanel();
jMenuItem7 = new javax.swing.JMenuItem(); jPanel10 = new javax.swing.JPanel();
jSeparator3 = new javax.swing.JSeparator(); Nveg = new javax.swing.JCheckBox();
jMenuItem5 = new javax.swing.JMenuItem(); jPanel8 = new javax.swing.JPanel();
jMenu4 = new javax.swing.JMenu(); jr = new javax.swing.JRadioButton();
jMenuItem9 = new javax.swing.JMenuItem(); jRadioButton2 = new
Billing = new javax.swing.JFrame(); javax.swing.JRadioButton();
jLabel78 = new javax.swing.JLabel(); jRadioButton3 = new
jLabel79 = new javax.swing.JLabel(); javax.swing.JRadioButton();
jLabel80 = new javax.swing.JLabel(); jPanel7 = new javax.swing.JPanel();
nametf = new javax.swing.JTextField(); cash = new javax.swing.JRadioButton();
addresstf = new javax.swing.JTextField(); cardradio = new javax.swing.JRadioButton();
contacttf = new javax.swing.JTextField(); jButton3 = new javax.swing.JButton();
picbill = new javax.swing.JLabel(); jLabel97 = new javax.swing.JLabel();
jLabel82 = new javax.swing.JLabel(); jPanel12 = new javax.swing.JPanel();
qtytf = new javax.swing.JTextField(); store = new javax.swing.JRadioButton();
jLabel83 = new javax.swing.JLabel(); dlyradio = new javax.swing.JRadioButton();
jLabel84 = new javax.swing.JLabel(); jComboBox1 = new javax.swing.JComboBox();
itemprice = new javax.swing.JLabel(); itemname = new javax.swing.JComboBox();
cardno = new javax.swing.JLabel(); jDialog1 = new javax.swing.JDialog();
jPanel9 = new javax.swing.JPanel(); buttonGroup1 = new
jLabel3 = new javax.swing.JLabel(); javax.swing.ButtonGroup();
jLabel4 = new javax.swing.JLabel(); buttonGroup2 = new
jLabel5 = new javax.swing.JLabel(); javax.swing.ButtonGroup();
jLabel6 = new javax.swing.JLabel(); buttonGroup3 = new
jLabel7 = new javax.swing.JLabel(); javax.swing.ButtonGroup();
jLabel58 = new javax.swing.JLabel(); confirm = new javax.swing.JDialog();
jLabel96 = new javax.swing.JLabel(); jPanel13 = new javax.swing.JPanel();
jLabel98 = new javax.swing.JLabel(); jLabel88 = new javax.swing.JLabel();
pricedetail = new javax.swing.JLabel(); jLabel99 = new javax.swing.JLabel();
taxdetail = new javax.swing.JLabel(); jLabel100 = new javax.swing.JLabel();
totaldetail = new javax.swing.JLabel(); jLabel101 = new javax.swing.JLabel();
jLabel104 = new javax.swing.JLabel(); jLabel102 = new javax.swing.JLabel();
jSeparator7 = new javax.swing.JSeparator(); jLabel103 = new javax.swing.JLabel();
namedetail = new javax.swing.JLabel(); jLabel106 = new javax.swing.JLabel();
quantitydetail = new javax.swing.JLabel(); jLabel107 = new javax.swing.JLabel();
modedetail = new javax.swing.JLabel(); priceconfirm = new javax.swing.JLabel();
typedetail = new javax.swing.JLabel(); taxconfirm = new javax.swing.JLabel();
sizedetail = new javax.swing.JLabel(); totalconfirm = new javax.swing.JLabel();
jSeparator8 = new javax.swing.JSeparator(); jLabel108 = new javax.swing.JLabel();
jLabel105 = new javax.swing.JLabel(); jSeparator9 = new javax.swing.JSeparator();
deliverydetail = new javax.swing.JLabel(); nameconfirm = new javax.swing.JLabel();
numbercard = new javax.swing.JTextField(); quantityconfirm = new javax.swing.JLabel();
jButton1 = new javax.swing.JButton(); modeconfirm = new javax.swing.JLabel();

E-LEARNING QUIZ SYSTEM


typeconfirm = new javax.swing.JLabel(); jLabel24 = new javax.swing.JLabel();
sizeconfirm = new javax.swing.JLabel(); jLabel25 = new javax.swing.JLabel();
jSeparator10 = new javax.swing.JSeparator(); jLabel26 = new javax.swing.JLabel();
jLabel109 = new javax.swing.JLabel(); foodID = new javax.swing.JTextField();
deliveryconfirm = new javax.swing.JLabel(); foodNAME = new javax.swing.JTextField();
jLabel13 = new javax.swing.JLabel(); foodPRICE = new javax.swing.JTextField();
invNO = new javax.swing.JTextField(); jButton13 = new javax.swing.JButton();
jButton4 = new javax.swing.JButton(); jButton14 = new javax.swing.JButton();
jButton5 = new javax.swing.JButton(); jButton15 = new javax.swing.JButton();
jButton6 = new javax.swing.JButton(); typeCOMBO = new javax.swing.JComboBox();
jLabel110 = new javax.swing.JLabel(); jLabel27 = new javax.swing.JLabel();
buttonGroup4 = new items = new javax.swing.JFrame();
javax.swing.ButtonGroup(); jPanel3 = new javax.swing.JPanel();
Orders = new javax.swing.JFrame(); jScrollPane3 = new javax.swing.JScrollPane();
jLabel14 = new javax.swing.JLabel(); jTable3 = new javax.swing.JTable();
jLabel10 = new javax.swing.JLabel(); jButton16 = new javax.swing.JButton();
jScrollPane1 = new javax.swing.JScrollPane(); jButton17 = new javax.swing.JButton();
jTable1 = new javax.swing.JTable(); jButton18 = new javax.swing.JButton();
jButton7 = new javax.swing.JButton(); jLabel28 = new javax.swing.JLabel();
jButton8 = new javax.swing.JButton(); ItemType = new javax.swing.JFrame();
Empl = new javax.swing.JFrame(); jPanel5 = new javax.swing.JPanel();
jScrollPane2 = new javax.swing.JScrollPane(); jScrollPane4 = new javax.swing.JScrollPane();
jTable2 = new javax.swing.JTable(); jTable4 = new javax.swing.JTable();
jButton9 = new javax.swing.JButton(); jButton22 = new javax.swing.JButton();
jButton10 = new javax.swing.JButton(); jButton23 = new javax.swing.JButton();
addEmpl = new javax.swing.JFrame(); jButton24 = new javax.swing.JButton();
jPanel1 = new javax.swing.JPanel(); jLabel34 = new javax.swing.JLabel();
jLabel15 = new javax.swing.JLabel(); jLabel35 = new javax.swing.JLabel();
jLabel16 = new javax.swing.JLabel(); ptypecombo = new javax.swing.JComboBox();
jLabel17 = new javax.swing.JLabel(); ItemDelete = new javax.swing.JFrame();
jLabel18 = new javax.swing.JLabel(); jPanel15 = new javax.swing.JPanel();
nEMPL = new javax.swing.JTextField(); jLabel42 = new javax.swing.JLabel();
nUID = new javax.swing.JTextField(); jLabel43 = new javax.swing.JLabel();
nNAME = new javax.swing.JTextField(); jLabel44 = new javax.swing.JLabel();
nJOB = new javax.swing.JComboBox(); jLabel45 = new javax.swing.JLabel();
jLabel19 = new javax.swing.JLabel(); jLabel46 = new javax.swing.JLabel();
jLabel20 = new javax.swing.JLabel(); PidS1 = new javax.swing.JTextField();
jLabel21 = new javax.swing.JLabel(); PnameS1 = new javax.swing.JTextField();
jLabel22 = new javax.swing.JLabel(); PtypeS1 = new javax.swing.JTextField();
nCONO = new javax.swing.JTextField(); PpriceS1 = new javax.swing.JTextField();
nDOB = new javax.swing.JTextField(); jButton30 = new javax.swing.JButton();
jPasswordField1 = new jLabel47 = new javax.swing.JLabel();
javax.swing.JPasswordField(); jButton34 = new javax.swing.JButton();
nPWD = new javax.swing.JPasswordField(); jButton31 = new javax.swing.JButton();
jButton11 = new javax.swing.JButton(); ItemFoodId = new javax.swing.JFrame();
jButton12 = new javax.swing.JButton(); jPanel14 = new javax.swing.JPanel();
addItem = new javax.swing.JFrame(); jLabel36 = new javax.swing.JLabel();
jPanel2 = new javax.swing.JPanel(); jLabel37 = new javax.swing.JLabel();
jLabel23 = new javax.swing.JLabel(); jLabel38 = new javax.swing.JLabel();

E-LEARNING QUIZ SYSTEM


jLabel39 = new javax.swing.JLabel(); public void
jLabel40 = new javax.swing.JLabel(); windowActivated(java.awt.event.WindowEvent
PidS = new javax.swing.JTextField(); evt) {
PnameS = new javax.swing.JTextField(); StartWindowActivated(evt);
PtypeS = new javax.swing.JTextField(); }
PpriceS = new javax.swing.JTextField(); public void
jButton25 = new javax.swing.JButton(); windowOpened(java.awt.event.WindowEvent evt)
jLabel41 = new javax.swing.JLabel(); {
jButton26 = new javax.swing.JButton(); StartWindowOpened(evt);
jButton29 = new javax.swing.JButton(); }
ItemModify = new javax.swing.JFrame(); });
jPanel16 = new javax.swing.JPanel(); Start.getContentPane().setLayout(new
jLabel48 = new javax.swing.JLabel(); org.netbeans.lib.awtextra.AbsoluteLayout());
jLabel49 = new javax.swing.JLabel();
jLabel51 = new javax.swing.JLabel(); wel.setFont(new java.awt.Font("Comic Sans
jLabel52 = new javax.swing.JLabel(); MS", 1, 36));
jLabel53 = new javax.swing.JLabel(); wel.setForeground(new java.awt.Color(255,
PidS2 = new javax.swing.JTextField(); 255, 255));
PtypeS2 = new javax.swing.JTextField(); wel.setText("Welcome");
PpriceS2 = new javax.swing.JTextField(); Start.getContentPane().add(wel, new
jButton32 = new javax.swing.JButton(); org.netbeans.lib.awtextra.AbsoluteConstraints(10,
jLabel54 = new javax.swing.JLabel(); 20, -1, -1));
jButton35 = new javax.swing.JButton(); Start.getContentPane().add(jLabel1, new
jButton33 = new javax.swing.JButton(); org.netbeans.lib.awtextra.AbsoluteConstraints(0,
PnameS2 = new javax.swing.JTextField(); 0, -1, -1));
cc = new javax.swing.JFrame();
jLabel11 = new javax.swing.JLabel(); OrderHis.setIcon(new
jLabel12 = new javax.swing.JLabel(); javax.swing.ImageIcon(getClass().getResource("/5.
jPanel6 = new javax.swing.JPanel(); png"))); // NOI18N
jLabel74 = new javax.swing.JLabel(); OrderHis.addMouseListener(new
jLabel76 = new javax.swing.JLabel(); java.awt.event.MouseAdapter() {
loginBTN = new javax.swing.JButton(); public void
pwdFLD = new javax.swing.JPasswordField(); mouseClicked(java.awt.event.MouseEvent evt) {
uidTF = new javax.swing.JTextField(); OrderHisMouseClicked(evt);
cancelBTN = new javax.swing.JButton(); }
jLabel77 = new javax.swing.JLabel(); });
frgt = new javax.swing.JLabel(); Start.getContentPane().add(OrderHis, new
org.netbeans.lib.awtextra.AbsoluteConstraints(630
, 230, -1, -1));
Start.setDefaultCloseOperation(javax.swing.Windo
wConstants.EXIT_ON_CLOSE); jLabel50.setIcon(new
Start.setTitle("Pizza Hut"); javax.swing.ImageIcon(getClass().getResource("/Lo
Start.setCursor(new go.png"))); // NOI18N
java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); Start.getContentPane().add(jLabel50, new
Start.setMinimumSize(new org.netbeans.lib.awtextra.AbsoluteConstraints(750
java.awt.Dimension(1024, 750)); , 570, -1, -1));
Start.setResizable(false);
Start.addWindowListener(new
java.awt.event.WindowAdapter() {

E-LEARNING QUIZ SYSTEM


Orderlbl.setIcon(new jMenuItem10.addActionListener(new
javax.swing.ImageIcon(getClass().getResource("/pa java.awt.event.ActionListener() {
uzahr_h_5e.gif"))); // NOI18N public void
Orderlbl.addMouseListener(new actionPerformed(java.awt.event.ActionEvent evt) {
java.awt.event.MouseAdapter() { jMenuItem10ActionPerformed(evt);
public void }
mouseClicked(java.awt.event.MouseEvent evt) { });
OrderlblMouseClicked(evt); jMenu1.add(jMenuItem10);
}
}); jMenuItem8.setText("Search by Type");
Start.getContentPane().add(Orderlbl, new jMenuItem8.addActionListener(new
org.netbeans.lib.awtextra.AbsoluteConstraints(50, java.awt.event.ActionListener() {
180, -1, -1)); public void
actionPerformed(java.awt.event.ActionEvent evt) {
jLabel8.setIcon(new jMenuItem8ActionPerformed(evt);
javax.swing.ImageIcon(getClass().getResource("/B }
G.jpg"))); // NOI18N });
Start.getContentPane().add(jLabel8, new jMenu1.add(jMenuItem8);
org.netbeans.lib.awtextra.AbsoluteConstraints(0,
0, -1, 700)); jMenuItem2.setText("Add New Food Item");
Start.getContentPane().add(jSeparator1, new jMenuItem2.addActionListener(new
org.netbeans.lib.awtextra.AbsoluteConstraints(0, java.awt.event.ActionListener() {
0, -1, -1)); public void
actionPerformed(java.awt.event.ActionEvent evt) {
jLabel9.setText("jLabel9"); jMenuItem2ActionPerformed(evt);
Start.getContentPane().add(jLabel9, new }
org.netbeans.lib.awtextra.AbsoluteConstraints(0, });
0, -1, -1)); jMenu1.add(jMenuItem2);

jMenuBar2.setBackground(new jMenuItem3.setText("Modify Existing Food


java.awt.Color(255, 255, 255)); item");
jMenuItem3.addActionListener(new
jMenu3.setText("File"); java.awt.event.ActionListener() {
public void
jMenu1.setText("Food Item"); actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem3ActionPerformed(evt);
jMenuItem1.setText("Details of all Food Item }
"); });
jMenuItem1.addActionListener(new jMenu1.add(jMenuItem3);
java.awt.event.ActionListener() {
public void jMenuItem4.setText("Delete Existing Food
actionPerformed(java.awt.event.ActionEvent evt) { item");
jMenuItem1ActionPerformed(evt); jMenuItem4.addActionListener(new
} java.awt.event.ActionListener() {
}); public void
jMenu1.add(jMenuItem1); actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem4ActionPerformed(evt);
jMenuItem10.setText("Search by Food_ID"); }
});

E-LEARNING QUIZ SYSTEM


jMenu1.add(jMenuItem4); getKeyStroke(java.awt.event.KeyEvent.VK_F4,
java.awt.event.InputEvent.ALT_MASK));
jMenu3.add(jMenu1); jMenuItem5.setText("Exit");
jMenuItem5.addMouseListener(new
jMenu2.setText("Employees"); java.awt.event.MouseAdapter() {
public void
jMenuItem13.setText("Display Employees mousePressed(java.awt.event.MouseEvent evt) {
Details"); jMenuItem5MousePressed(evt);
jMenuItem13.addActionListener(new }
java.awt.event.ActionListener() { });
public void jMenuItem5.addActionListener(new
actionPerformed(java.awt.event.ActionEvent evt) { java.awt.event.ActionListener() {
jMenuItem13ActionPerformed(evt); public void
} actionPerformed(java.awt.event.ActionEvent evt) {
}); jMenuItem5ActionPerformed(evt);
jMenu2.add(jMenuItem13); }
});
jMenuItem14.setText("Add New employ"); jMenu3.add(jMenuItem5);
jMenuItem14.addActionListener(new
java.awt.event.ActionListener() { jMenuBar2.add(jMenu3);
public void
actionPerformed(java.awt.event.ActionEvent evt) { jMenu4.setText("Help");
jMenuItem14ActionPerformed(evt);
} jMenuItem9.setText("About Us");
}); jMenuItem9.addActionListener(new
jMenu2.add(jMenuItem14); java.awt.event.ActionListener() {
public void
jMenuItem15.setText("Fire Existing Employ"); actionPerformed(java.awt.event.ActionEvent evt) {
jMenu2.add(jMenuItem15); jMenuItem9ActionPerformed(evt);
}
jMenu3.add(jMenu2); });
jMenu4.add(jMenuItem9);

jMenuItem7.setAccelerator(javax.swing.KeyStroke. jMenuBar2.add(jMenu4);
getKeyStroke(java.awt.event.KeyEvent.VK_F5, 0));
jMenuItem7.setText("Log Out"); Start.setJMenuBar(jMenuBar2);
jMenuItem7.addActionListener(new
java.awt.event.ActionListener() {
public void Billing.setDefaultCloseOperation(javax.swing.Wind
actionPerformed(java.awt.event.ActionEvent evt) { owConstants.DISPOSE_ON_CLOSE);
jMenuItem7ActionPerformed(evt); Billing.setTitle("Pizza Hut:Billing");
} Billing.setMinimumSize(new
}); java.awt.Dimension(1024, 768));
jMenu3.add(jMenuItem7); Billing.setResizable(false);
jMenu3.add(jSeparator3); Billing.addMouseMotionListener(new
java.awt.event.MouseMotionAdapter() {
public void
jMenuItem5.setAccelerator(javax.swing.KeyStroke. mouseMoved(java.awt.event.MouseEvent evt) {
BillingMouseMoved(evt);

E-LEARNING QUIZ SYSTEM


} jLabel82.setText("Quantity");
});
qtytf.setText("0");
jLabel78.setFont(new java.awt.Font("Arimo", qtytf.addActionListener(new
1, 14)); java.awt.event.ActionListener() {
jLabel78.setText("Name"); public void
actionPerformed(java.awt.event.ActionEvent evt) {
jLabel79.setFont(new java.awt.Font("Arimo", qtytfActionPerformed(evt);
1, 14)); }
jLabel79.setText("Address"); });
qtytf.addFocusListener(new
jLabel80.setFont(new java.awt.Font("Arimo", java.awt.event.FocusAdapter() {
1, 14)); public void
jLabel80.setText("Contact No."); focusLost(java.awt.event.FocusEvent evt) {
qtytfFocusLost(evt);
nametf.addFocusListener(new }
java.awt.event.FocusAdapter() { });
public void
focusLost(java.awt.event.FocusEvent evt) { jLabel83.setFont(new java.awt.Font("Arimo",
nametfFocusLost(evt); 1, 14));
} jLabel83.setText("Item");
});
jLabel84.setFont(new java.awt.Font("Arimo",
addresstf.addActionListener(new 1, 14));
java.awt.event.ActionListener() { jLabel84.setText("Price");
public void
actionPerformed(java.awt.event.ActionEvent evt) { itemprice.setFont(new java.awt.Font("Arimo",
addresstfActionPerformed(evt); 1, 14));
}
}); cardno.setText("Enter Card No:");
cardno.setEnabled(false);
contacttf.addActionListener(new
java.awt.event.ActionListener() {
public void jPanel9.setBorder(javax.swing.BorderFactory.creat
actionPerformed(java.awt.event.ActionEvent evt) { eTitledBorder(null, "Details",
contacttfActionPerformed(evt); javax.swing.border.TitledBorder.DEFAULT_JUSTIFI
} CATION,
}); javax.swing.border.TitledBorder.DEFAULT_POSITIO
N, new java.awt.Font("Tahoma", 1, 11), new
picbill.setIcon(new java.awt.Color(255, 0, 0))); // NOI18N
javax.swing.ImageIcon(getClass().getResource("/ch
ef.jpg"))); // NOI18N jLabel3.setFont(new java.awt.Font("Arial", 1,
picbill.setText("pic"); 12));
jLabel3.setForeground(new
picbill.setBorder(javax.swing.BorderFactory.create java.awt.Color(255, 0, 0));
LineBorder(new java.awt.Color(0, 0, 0))); jLabel3.setText("Name:");

jLabel82.setFont(new java.awt.Font("Arimo", jLabel4.setFont(new java.awt.Font("Arial", 1,


1, 14)); 12));

E-LEARNING QUIZ SYSTEM


jLabel4.setForeground(new jLabel104.setForeground(new
java.awt.Color(255, 0, 0)); java.awt.Color(255, 0, 0));
jLabel4.setText("Product"); jLabel104.setText("Total");

jLabel5.setFont(new java.awt.Font("Arial", 1, namedetail.setText("Blank");


12));
jLabel5.setForeground(new quantitydetail.setText("Blank");
java.awt.Color(255, 0, 0));
jLabel5.setText("Size:"); modedetail.setText("Cash");

jLabel6.setFont(new java.awt.Font("Arial", 1, typedetail.setText("Detail");


12));
jLabel6.setForeground(new sizedetail.setText("Small");
java.awt.Color(255, 0, 0));
jLabel6.setText("Quantity:"); jLabel105.setFont(new java.awt.Font("Arial",
1, 12));
jLabel7.setFont(new java.awt.Font("Arial", 1, jLabel105.setForeground(new
12)); java.awt.Color(255, 0, 0));
jLabel7.setForeground(new jLabel105.setText("Delivery:");
java.awt.Color(255, 0, 0));
jLabel7.setText("Mode of Payment:"); deliverydetail.setText("0");

jLabel58.setFont(new java.awt.Font("Arial", 1, javax.swing.GroupLayout jPanel9Layout = new


12)); javax.swing.GroupLayout(jPanel9);
jLabel58.setForeground(new jPanel9.setLayout(jPanel9Layout);
java.awt.Color(255, 0, 0)); jPanel9Layout.setHorizontalGroup(
jLabel58.setText("Payment Details");
jPanel9Layout.createParallelGroup(javax.swing.Gr
jLabel96.setFont(new java.awt.Font("Arial", 1, oupLayout.Alignment.LEADING)
12)); .addGroup(jPanel9Layout.createSequential
jLabel96.setForeground(new Group()
java.awt.Color(255, 0, 0)); .addContainerGap()
jLabel96.setText("Price:"); .addGroup(jPanel9Layout.createParallelG
roup(javax.swing.GroupLayout.Alignment.LEADING
jLabel98.setFont(new java.awt.Font("Arial", 1, )
12)); .addGroup(jPanel9Layout.createSequen
jLabel98.setForeground(new tialGroup()
java.awt.Color(255, 0, 0)); .addComponent(jLabel3)
jLabel98.setText("Tax:"); .addGap(71, 71, 71)
.addComponent(namedetail,
pricedetail.setText("Price"); javax.swing.GroupLayout.DEFAULT_SIZE, 156,
Short.MAX_VALUE))
taxdetail.setText("Tax"); .addComponent(jLabel5)
.addGroup(jPanel9Layout.createSequen
totaldetail.setText("Total"); tialGroup()
.addComponent(jLabel58)
jLabel104.setFont(new java.awt.Font("Arial", .addPreferredGap(javax.swing.Layout
1, 12)); Style.ComponentPlacement.RELATED)

E-LEARNING QUIZ SYSTEM


.addComponent(jSeparator7, .addGroup(jPanel9Layout.createParal
javax.swing.GroupLayout.PREFERRED_SIZE, lelGroup(javax.swing.GroupLayout.Alignment.LEA
javax.swing.GroupLayout.DEFAULT_SIZE, DING)
javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel7)
.addPreferredGap(javax.swing.Layout .addComponent(jLabel6)
Style.ComponentPlacement.RELATED) .addComponent(jLabel4))
.addGroup(jPanel9Layout.createParal .addPreferredGap(javax.swing.Layout
lelGroup(javax.swing.GroupLayout.Alignment.TRAI Style.ComponentPlacement.RELATED)
LING) .addGroup(jPanel9Layout.createParal
.addGroup(jPanel9Layout.createSe lelGroup(javax.swing.GroupLayout.Alignment.LEA
quentialGroup() DING)
.addGroup(jPanel9Layout.create .addComponent(modedetail,
ParallelGroup(javax.swing.GroupLayout.Alignment. javax.swing.GroupLayout.DEFAULT_SIZE, 156,
LEADING) Short.MAX_VALUE)
.addComponent(jLabel96) .addComponent(quantitydetail,
.addComponent(jLabel98) javax.swing.GroupLayout.Alignment.TRAILING,
.addComponent(jLabel104)) javax.swing.GroupLayout.DEFAULT_SIZE, 156,
.addGroup(jPanel9Layout.create Short.MAX_VALUE)
ParallelGroup(javax.swing.GroupLayout.Alignment. .addComponent(typedetail,
LEADING) javax.swing.GroupLayout.PREFERRED_SIZE, 91,
.addGroup(jPanel9Layout.crea javax.swing.GroupLayout.PREFERRED_SIZE)
teSequentialGroup() .addComponent(sizedetail,
.addGap(62, 62, 62) javax.swing.GroupLayout.DEFAULT_SIZE, 156,
.addGroup(jPanel9Layout.cr Short.MAX_VALUE))))
eateParallelGroup(javax.swing.GroupLayout.Align .addContainerGap())
ment.LEADING) );
.addComponent(totaldetai jPanel9Layout.setVerticalGroup(
l, javax.swing.GroupLayout.PREFERRED_SIZE, 68,
javax.swing.GroupLayout.PREFERRED_SIZE) jPanel9Layout.createParallelGroup(javax.swing.Gr
.addComponent(taxdetail, oupLayout.Alignment.LEADING)
javax.swing.GroupLayout.PREFERRED_SIZE, 65, .addGroup(jPanel9Layout.createSequential
javax.swing.GroupLayout.PREFERRED_SIZE) Group()
.addComponent(pricedeta .addGroup(jPanel9Layout.createParallelG
il, javax.swing.GroupLayout.DEFAULT_SIZE, 68, roup(javax.swing.GroupLayout.Alignment.BASELIN
Short.MAX_VALUE) E)
.addComponent(deliveryd .addComponent(jLabel3)
etail))) .addComponent(namedetail,
.addGroup(jPanel9Layout.crea javax.swing.GroupLayout.PREFERRED_SIZE, 21,
teSequentialGroup() javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(54, 54, 54) .addPreferredGap(javax.swing.LayoutStyl
.addComponent(jSeparator8 e.ComponentPlacement.RELATED)
, javax.swing.GroupLayout.PREFERRED_SIZE, 50, .addGroup(jPanel9Layout.createParallelG
javax.swing.GroupLayout.PREFERRED_SIZE)))) roup(javax.swing.GroupLayout.Alignment.BASELIN
.addComponent(jLabel105, E)
javax.swing.GroupLayout.Alignment.LEADING, .addComponent(typedetail,
javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE, 25,
javax.swing.GroupLayout.PREFERRED_SIZE))) javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(jPanel9Layout.createSequen .addComponent(jLabel4))
tialGroup()

E-LEARNING QUIZ SYSTEM


.addPreferredGap(javax.swing.LayoutStyl .addGroup(jPanel9Layout.createParallelG
e.ComponentPlacement.RELATED) roup(javax.swing.GroupLayout.Alignment.LEADING
.addGroup(jPanel9Layout.createParallelG )
roup(javax.swing.GroupLayout.Alignment.LEADING .addGroup(jPanel9Layout.createSequen
, false) tialGroup()
.addComponent(sizedetail, .addComponent(jLabel98)
javax.swing.GroupLayout.DEFAULT_SIZE, .addPreferredGap(javax.swing.Layout
javax.swing.GroupLayout.DEFAULT_SIZE, Style.ComponentPlacement.RELATED)
Short.MAX_VALUE) .addGroup(jPanel9Layout.createParal
.addComponent(jLabel5, lelGroup(javax.swing.GroupLayout.Alignment.LEA
javax.swing.GroupLayout.DEFAULT_SIZE, DING)
javax.swing.GroupLayout.DEFAULT_SIZE, .addComponent(jLabel105)
Short.MAX_VALUE)) .addComponent(jSeparator7,
.addGap(8, 8, 8) javax.swing.GroupLayout.PREFERRED_SIZE, 10,
.addGroup(jPanel9Layout.createParallelG javax.swing.GroupLayout.PREFERRED_SIZE)))
roup(javax.swing.GroupLayout.Alignment.BASELIN .addGroup(jPanel9Layout.createSequen
E) tialGroup()
.addComponent(jLabel6) .addComponent(taxdetail)
.addComponent(quantitydetail, .addPreferredGap(javax.swing.Layout
javax.swing.GroupLayout.PREFERRED_SIZE, 25, Style.ComponentPlacement.RELATED)
javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(deliverydetail)))
.addPreferredGap(javax.swing.LayoutStyl .addGap(23, 23, 23)
e.ComponentPlacement.RELATED) .addGroup(jPanel9Layout.createParallelG
.addGroup(jPanel9Layout.createParallelG roup(javax.swing.GroupLayout.Alignment.BASELIN
roup(javax.swing.GroupLayout.Alignment.BASELIN E)
E) .addComponent(jLabel104)
.addComponent(jLabel7) .addComponent(totaldetail))
.addComponent(modedetail, .addContainerGap(12,
javax.swing.GroupLayout.PREFERRED_SIZE, 23, Short.MAX_VALUE))
javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(javax.swing.GroupLayout.Alignm
.addGroup(jPanel9Layout.createParallelG ent.TRAILING,
roup(javax.swing.GroupLayout.Alignment.LEADING jPanel9Layout.createSequentialGroup()
) .addContainerGap(246,
.addGroup(jPanel9Layout.createSequen Short.MAX_VALUE)
tialGroup() .addComponent(jSeparator8,
.addGap(32, 32, 32) javax.swing.GroupLayout.PREFERRED_SIZE, 10,
.addGroup(jPanel9Layout.createParal javax.swing.GroupLayout.PREFERRED_SIZE)
lelGroup(javax.swing.GroupLayout.Alignment.BASE .addGap(26, 26, 26))
LINE) );
.addComponent(jLabel96)
.addComponent(pricedetail, numbercard.setEnabled(false);
javax.swing.GroupLayout.PREFERRED_SIZE, 23,
javax.swing.GroupLayout.PREFERRED_SIZE))) jButton1.setText("Cancel");
.addGroup(jPanel9Layout.createSequen jButton1.addActionListener(new
tialGroup() java.awt.event.ActionListener() {
.addGap(18, 18, 18) public void
.addComponent(jLabel58))) actionPerformed(java.awt.event.ActionEvent evt) {
.addPreferredGap(javax.swing.LayoutStyl jButton1ActionPerformed(evt);
e.ComponentPlacement.RELATED) }

E-LEARNING QUIZ SYSTEM


}); public void
actionPerformed(java.awt.event.ActionEvent evt) {
jButton2.setText("Order It!!"); mediumradioActionPerformed(evt);
jButton2.addActionListener(new }
java.awt.event.ActionListener() { });
public void
actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt); jPanel11.setBorder(javax.swing.BorderFactory.cre
} ateTitledBorder(null, "Complimentary",
}); javax.swing.border.TitledBorder.DEFAULT_JUSTIFI
CATION,
jLabel2.setFont(new java.awt.Font("Arial", 1, javax.swing.border.TitledBorder.DEFAULT_POSITIO
14)); N, new java.awt.Font("Tahoma", 0, 11), new
jLabel2.setText("Size"); java.awt.Color(51, 51, 51))); // NOI18N

buttonGroup1.add(smallradio);
smallradio.setFont(new java.awt.Font("Arial", jPanel10.setBorder(javax.swing.BorderFactory.cre
1, 14)); ateTitledBorder(null, "Non VegToppings(Any
smallradio.setSelected(true); One)",
smallradio.setText("Small Size"); javax.swing.border.TitledBorder.DEFAULT_JUSTIFI
smallradio.addMouseListener(new CATION,
java.awt.event.MouseAdapter() { javax.swing.border.TitledBorder.DEFAULT_POSITIO
public void N, new java.awt.Font("Tahoma", 0, 11), new
mouseClicked(java.awt.event.MouseEvent evt) { java.awt.Color(51, 51, 51))); // NOI18N
smallradioMouseClicked(evt);
} Nveg.setText("Chicken Salami");
}); Nveg.addActionListener(new
smallradio.addActionListener(new java.awt.event.ActionListener() {
java.awt.event.ActionListener() { public void
public void actionPerformed(java.awt.event.ActionEvent evt) {
actionPerformed(java.awt.event.ActionEvent evt) { NvegActionPerformed(evt);
smallradioActionPerformed(evt); }
} });
});
javax.swing.GroupLayout jPanel10Layout =
buttonGroup1.add(mediumradio); new javax.swing.GroupLayout(jPanel10);
mediumradio.setFont(new jPanel10.setLayout(jPanel10Layout);
java.awt.Font("Arial", 1, 14)); jPanel10Layout.setHorizontalGroup(
mediumradio.setText("Medium Size");
mediumradio.addMouseListener(new jPanel10Layout.createParallelGroup(javax.swing.G
java.awt.event.MouseAdapter() { roupLayout.Alignment.LEADING)
public void .addGroup(jPanel10Layout.createSequential
mouseClicked(java.awt.event.MouseEvent evt) { Group()
mediumradioMouseClicked(evt); .addContainerGap()
} .addComponent(Nveg)
}); .addContainerGap(39,
mediumradio.addActionListener(new Short.MAX_VALUE))
java.awt.event.ActionListener() { );
jPanel10Layout.setVerticalGroup(

E-LEARNING QUIZ SYSTEM


.addGroup(jPanel8Layout.createParallelG
jPanel10Layout.createParallelGroup(javax.swing.G roup(javax.swing.GroupLayout.Alignment.LEADING
roupLayout.Alignment.LEADING) )
.addGroup(jPanel10Layout.createSequential .addComponent(jRadioButton3)
Group() .addComponent(jRadioButton2)
.addContainerGap() .addComponent(jr))
.addComponent(Nveg) .addContainerGap(69,
.addContainerGap(74, Short.MAX_VALUE))
Short.MAX_VALUE)) );
); jPanel8Layout.setVerticalGroup(

jPanel8Layout.createParallelGroup(javax.swing.Gr
jPanel8.setBorder(javax.swing.BorderFactory.creat oupLayout.Alignment.LEADING)
eTitledBorder(null, "Veg Toppings(Any one)", .addGroup(jPanel8Layout.createSequential
javax.swing.border.TitledBorder.DEFAULT_JUSTIFI Group()
CATION, .addContainerGap()
javax.swing.border.TitledBorder.DEFAULT_POSITIO .addComponent(jr)
N, new java.awt.Font("Tahoma", 0, 11), new .addPreferredGap(javax.swing.LayoutStyl
java.awt.Color(51, 51, 51))); // NOI18N e.ComponentPlacement.UNRELATED)
.addComponent(jRadioButton2)
buttonGroup2.add(jr); .addPreferredGap(javax.swing.LayoutStyl
jr.setSelected(true); e.ComponentPlacement.UNRELATED)
jr.setText("Jalapino / Red Paprika"); .addComponent(jRadioButton3)
.addContainerGap(22,
buttonGroup2.add(jRadioButton2); Short.MAX_VALUE))
jRadioButton2.setText("Capsicum / Onion"); );
jRadioButton2.addActionListener(new
java.awt.event.ActionListener() { javax.swing.GroupLayout jPanel11Layout =
public void new javax.swing.GroupLayout(jPanel11);
actionPerformed(java.awt.event.ActionEvent evt) { jPanel11.setLayout(jPanel11Layout);
jRadioButton2ActionPerformed(evt); jPanel11Layout.setHorizontalGroup(
}
}); jPanel11Layout.createParallelGroup(javax.swing.G
roupLayout.Alignment.LEADING)
buttonGroup2.add(jRadioButton3); .addGroup(jPanel11Layout.createSequential
jRadioButton3.setText("Capsicum / Red Group()
Paprika"); .addContainerGap()
.addComponent(jPanel8,
javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout(jPanel8); javax.swing.GroupLayout.DEFAULT_SIZE,
jPanel8.setLayout(jPanel8Layout); javax.swing.GroupLayout.PREFERRED_SIZE)
jPanel8Layout.setHorizontalGroup( .addGap(18, 18, 18)
.addComponent(jPanel10,
jPanel8Layout.createParallelGroup(javax.swing.Gr javax.swing.GroupLayout.PREFERRED_SIZE,
oupLayout.Alignment.LEADING) javax.swing.GroupLayout.DEFAULT_SIZE,
.addGroup(jPanel8Layout.createSequential javax.swing.GroupLayout.PREFERRED_SIZE)
Group() .addContainerGap(38,
.addGap(14, 14, 14) Short.MAX_VALUE))
);

E-LEARNING QUIZ SYSTEM


jPanel11Layout.setVerticalGroup( cardradio.addActionListener(new
java.awt.event.ActionListener() {
jPanel11Layout.createParallelGroup(javax.swing.G public void
roupLayout.Alignment.LEADING) actionPerformed(java.awt.event.ActionEvent evt) {
.addGroup(javax.swing.GroupLayout.Alignm cardradioActionPerformed(evt);
ent.TRAILING, }
jPanel11Layout.createSequentialGroup() });
.addContainerGap(javax.swing.GroupLayo
ut.DEFAULT_SIZE, Short.MAX_VALUE) javax.swing.GroupLayout jPanel7Layout = new
.addGroup(jPanel11Layout.createParallel javax.swing.GroupLayout(jPanel7);
Group(javax.swing.GroupLayout.Alignment.TRAILI jPanel7.setLayout(jPanel7Layout);
NG, false) jPanel7Layout.setHorizontalGroup(
.addComponent(jPanel10,
javax.swing.GroupLayout.Alignment.LEADING, jPanel7Layout.createParallelGroup(javax.swing.Gr
javax.swing.GroupLayout.DEFAULT_SIZE, oupLayout.Alignment.LEADING)
javax.swing.GroupLayout.DEFAULT_SIZE, .addGroup(jPanel7Layout.createSequential
Short.MAX_VALUE) Group()
.addComponent(jPanel8, .addContainerGap()
javax.swing.GroupLayout.Alignment.LEADING, .addGroup(jPanel7Layout.createParallelG
javax.swing.GroupLayout.DEFAULT_SIZE, roup(javax.swing.GroupLayout.Alignment.LEADING
javax.swing.GroupLayout.DEFAULT_SIZE, )
Short.MAX_VALUE)) .addComponent(cash)
.addGap(124, 124, 124)) .addComponent(cardradio))
); .addContainerGap(33,
Short.MAX_VALUE))
);
jPanel7.setBorder(javax.swing.BorderFactory.creat jPanel7Layout.setVerticalGroup(
eTitledBorder("Mode Of Payment"));
jPanel7Layout.createParallelGroup(javax.swing.Gr
buttonGroup3.add(cash); oupLayout.Alignment.LEADING)
cash.setSelected(true); .addGroup(jPanel7Layout.createSequential
cash.setText("Cash"); Group()
cash.addActionListener(new jPanel1.setBackground(new
java.awt.event.ActionListener() { java.awt.Color(255, 255, 255));
public void jPanel1.setMinimumSize(new
actionPerformed(java.awt.event.ActionEvent evt) { java.awt.Dimension(543, 435));
cashActionPerformed(evt);
} jLabel15.setText("Empl_ID");
});
jLabel16.setText("User_ID");
buttonGroup3.add(cardradio);
cardradio.setText("Debit/Credit Card"); jLabel17.setText("Name");
cardradio.addMouseListener(new
java.awt.event.MouseAdapter() { jLabel18.setText("Designation");
public void
mouseClicked(java.awt.event.MouseEvent evt) { nEMPL.setEditable(false);
cardradioMouseClicked(evt);
}
});

E-LEARNING QUIZ SYSTEM


nJOB.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { jPanel1Layout.createParallelGroup(javax.swing.Gr
"Manager", "Employee" })); oupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequential
jLabel19.setText("Contact No."); Group()
.addGap(58, 58, 58)
jLabel20.setText("Date of BIrth"); .addGroup(jPanel1Layout.createParallelG
roup(javax.swing.GroupLayout.Alignment.LEADING
jLabel21.setText("Password"); )
.addComponent(jLabel15)
jLabel22.setText("Confirm Password"); .addComponent(jLabel16)
.addComponent(jLabel17)
nDOB.addActionListener(new .addComponent(jLabel18)
java.awt.event.ActionListener() { .addComponent(jLabel19)
public void .addComponent(jLabel20)
actionPerformed(java.awt.event.ActionEvent evt) { .addComponent(jLabel21)
nDOBActionPerformed(evt); .addComponent(jLabel22))
} .addGap(56, 56, 56)
}); .addGroup(jPanel1Layout.createParallelG
roup(javax.swing.GroupLayout.Alignment.LEADING
nPWD.addActionListener(new , false)
java.awt.event.ActionListener() { .addComponent(nJOB, 0,
public void javax.swing.GroupLayout.DEFAULT_SIZE,
actionPerformed(java.awt.event.ActionEvent evt) { Short.MAX_VALUE)
nPWDActionPerformed(evt); .addComponent(nNAME)
} .addComponent(nUID)
}); .addComponent(nEMPL,
javax.swing.GroupLayout.DEFAULT_SIZE, 169,
jButton11.setFont(new Short.MAX_VALUE)
java.awt.Font("Tahoma", 1, 11)); .addComponent(nCONO)
jButton11.setText("OK"); .addComponent(nDOB)
jButton11.addActionListener(new .addComponent(jPasswordField1)
java.awt.event.ActionListener() { .addComponent
public void screen
actionPerformed(java.awt.event.ActionEvent evt) {
while (rs.next()) {
jButton11ActionPerformed(evt);
} String Ordno = rs.getString("Orderno");
});
String Ordd = rs.getString("OrderDate");
jButton12.setFont(new String OItemid = rs.getString("Item_Id");
java.awt.Font("Tahoma", 1, 11));
jButton12.setText("CANCEL"); String OSid = rs.getString("Shopper_Id");

String OQty = rs.getString("Quantity");


javax.swing.GroupLayout jPanel1Layout = new
javax.swing.GroupLayout(jPanel1); String IPrice = rs.getString("price");
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup( String Disc = rs.getString("discount");

String OAmount = rs.getString("Amount");

E-LEARNING QUIZ SYSTEM


System.out.println(Ordno + "|" + Ordd + public void run() {
"|" +OItemid + "|" + OSid + "|" + OQty + "|" +
IPrice + "|" + Disc + "|" + OAmount); new OrdListUI().setVisible(true);

model.addRow(new Object[] {Ordno, }


Ordd, OItemid, OSid, OQty, IPrice, Disc,
OAmount}); });

} }

} catch (Exception e) {

JOptionPane.showMessageDialog(this, // Variables declaration - do not modify


e.getMessage());
private javax.swing.JButton jButton1;
}
private javax.swing.JButton jButton2;
}
private javax.swing.JLabel jLabel1;

private javax.swing.JScrollPane jScrollPane1;

private javax.swing.JTable jTable1;

// End of variables declaration


/**

* @param args the command line arguments


}
*/

public static void main(String args[]) {

java.awt.EventQueue.invokeLater(new
Runnable() {

BIBLIOGRAPHY
E-LEARNING QUIZ SYSTEM
Book: INFORMATICS PRACTICES
Written by: Sumita Arora

Book: NetBeans: The Definitive Guide


Written by: Tim Boudreau

E-LEARNING QUIZ SYSTEM

You might also like