SlideShare una empresa de Scribd logo
1 de 47
TERMPAPER
                 Of
               MOdERn
PROgRAMMing TOOls -1

TOPic : fEE MAnAgEMEnT sysTEM


sUBMiTTEd TO –             sUBMiTTEd
By-

MR.RAkEsh                        fAiRy

                                  sEc
– k27B1

                                  B.TE
ch [iT]- MBA
ROll
nO - 09



Table of contents:-

  1. Fee management system

  2. Scope

  3. Features

  4. Language used

  5. Overview

  6. Data flow diagram

  7. CODING OF THE PROJECT
Fee management system
The fee management system is to manage the data or information of the student those who
have submitted their fees and those who have not submitted their fee .

Scope of this project:-

This can be used in the educational institutes like university , schools etc.

It can also be used in companies for paying salaries to their employees .

Features:-

   •   Secure

   •   Easy to use

   •   Reliable and accurate

   •   No need of examiner




Technologies used:-

Java

Overview :
1.




             12. Fee Setting
                Administrator can set different fee names settings for different classes using a simple
                interface. Also fee amount for different fee items for different months can be set for
                common fee items.




             Name/Class wise search
             Fee amount to be paid by a student is done by searching the student. By
             entering student Id or class or name, the amount to be paid for a particular
             period is viewed.




2.   Monthly fee items
     Monthly fee items are displayed based on the monthly fee setting. For each student
     fee pending amount is displayed.


3. Terminal fee items
     Terminal fee items will be displayed based on the term selection. For each student, a
     period of month can also be selected for collecting terminal fees
CODING:

Main.java-

import java.awt.*;

import java.awt.event.*;

import javax.swing.*;




public class mainw extends JFrame implements ActionListener

{




       JButton b1,b2,b3;

       String title= "MAIN";




       mainw()

       {




              b1 = new JButton("Administrator");
b2 = new JButton("Student");

       b3 = new JButton("Exit");




       add(b1);

       add(b2);

       add(b3);

       b1.addActionListener(this);

       b2.addActionListener(this);

       b3.addActionListener(this);

       setLayout(new FlowLayout());




}




public void actionPerformed(ActionEvent e)




{

       if(e.getSource()==b1)

       {

              passw obj2= new passw();

              obj2.setSize(300,200);

              obj2.setVisible(true);

       }
if(e.getSource()==b2)

           {

                   student obj3 = new student();

                   obj3.setSize(800,500);

                   obj3.setVisible(true);




           }

           if(e.getSource()==b3)

           {

                   System.exit(0);

           }

    }

    public static void main(String s[])

    {




           mainw obj = new mainw();

           obj.setSize(400,400);

           obj.setVisible(true);

    }




}
Student.java

import java.awt.*;

import java.awt.event.*;

import javax.swing.*;

import java.sql.*;




public class student extends JFrame implements ActionListener

{




        JTextField t1;

        JButton b1,b2;

        JLabel




l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l12,l13,l14,l15,l16,l17,l18,l19,l20,l21,l22,




l23;

        String id= null;

        String phone,add,fee,course,age,sex,year,home,regs no;

        String err="STUDENT NOT FOUND, PLEASE ENTER
CORRECT ID";

     employee()

     {

           t1 = new JTextField(10);

           l1 = new JLabel("Student_Id");

           l2 = new JLabel("Student_Name");

           l3 = new JLabel();

           l4 = new JLabel("Student_Phone");

           l5 = new JLabel();

           l6 = new JLabel("Student_Address");

           l7 = new JLabel();

           l8 = new JLabel("Student_fee");

           l9 = new JLabel();

           l10 = new JLabel("Student_course");

           l11 = new JLabel();

           l12 = new JLabel("Student_Age");

           l13 = new JLabel();

           l14 = new JLabel("Student_Sex");

           l15 = new JLabel();

           l16 = new JLabel("Student_year");

           l17 = new JLabel();

           l18 = new JLabel("Student_Hometown");
l19 = new JLabel();

     l20 = new JLabel("Student_regs no");

     l21 = new JLabel();

     l22 = new JLabel();

     l23 = new JLabel();

     b1 = new JButton("Show");

     b2 = new JButton("Exit");




     add(l1);

     add(t1);

     add(l2);

     add(l3);

     add(l4);

     add(l5);

add(l6);

add(l7);

     add(l8);

     add(l9);

     add(l10);

     add(l11);

     add(l12);

     add(l13);
add(l14);

        add(l15);

        add(l16);

        add(l17);

        add(l18);

        add(l19);

        add(l20);

        add(l21);

        add(l22);

        add(l23);

        add(b1);

        add(b2);

        b1.addActionListener(this);

        b2.addActionListener(this);

    setLayout(new GridLayout(13,1));




}

public void actionPerformed(ActionEvent e)

{

        try

        {

               Class.forName
("sun.jdbc.odbc.JdbcOdbcDriver");

                     Connection con =




DriverManager.getConnection("Jdbc:Odbc:DSN1");

                     ResultSet rs=null;

                     id = t1.getText();

                     String name="none";

                     if(e.getSource()==b1)

                     {

                            PreparedStatement st1 =




con.prepareStatement("Select * from student where student_Id=?");

                            st1.setString(1,id);

                            rs = st1.executeQuery();

                            while(rs.next())

                            {

                                    name=rs.getString




(2);




                                    phone=rs.getString




(3);
add=rs.getString(4);

               fee=rs.getString(5);

               course=rs.getString




(6);

               age=rs.getString(7);

               sex=rs.getString(8);

               year=rs.getString(9);

               home=rs.getString




(10);

               regs no=rs.getString




(11);

        }




        if(name.equals("none"))

        {

               t1.setText("");

               l23.setText("");

               t1.setText("");

               l3.setText("");

               l5.setText("");
l7.setText("");

       l9.setText("");

       l11.setText("");

       l13.setText("");

       l15.setText("");

       l17.setText("");

       l19.setText("");

       l21.setText("");

       st1.close();




}

else

{

       t1.setText(id);

       l3.setText(name);

       l5.setText(phone);

       l7.setText(add);

       l9.setText(fee);

       l11.setText(course);

       l13.setText(age);

       l15.setText(sex);

       l17.setText(year);

       l19.setText(home);
l21.setText(regs no);

                                   l23.setText("Showing




details");

                                   st1.close();

                            }

                    }




                    if(e.getSource()==b2)

                    {

                            System.exit(0);

                    }

                    rs.close();

                    con.close();




             }

             catch(Exception as)

             {

                    System.out.print(as);

             }




        }
public static void main(String s[])

       {

               Student obj = new student();

               obj.setSize(800,400);

               obj.setVisible(true);

       }




}




PASSW.JAVA-




import java.awt.*;

import java.awt.event.*;

import javax.swing.*;




public class passw extends JFrame implements ActionListener

{




       JButton b1,b2,b3;

       JLabel l1,l2,l3,l4;
JTextField t1;

TextField t2;

String pasw,us;

String password="csb", usid ="uptu";

int count=3;

passw()

{

       t1 = new JTextField(10);

       t2 = new TextField(10);




       l1 = new JLabel("User ID");

       l2 = new JLabel("Password");

       b1 = new JButton("Login");

       b2 = new JButton("Change Password");

       b3 = new JButton("Cancel");

       t2.setEchoChar('*');

       add(l1);

       add(t1);




       add(l2);

       add(t2);;

       add(b1);

       add(b2);
add(b3);

       b1.addActionListener(this);

       b2.addActionListener(this);

       b3.addActionListener(this);

       setLayout(new GridLayout(7,1));




}




public void actionPerformed(ActionEvent e)




{




       if(e.getSource()==b1)

       {

              us = t1.getText();

              pasw = t2.getText();

              if(count>0&& password.equals(pasw)&& usid.equals(us))

              {




                     admini obj2= new admini();

                     obj2.setSize(800,500);

                     obj2.setVisible(true);

              }
else

                   {

                           count= count-1;

                           if(count==0)

                           System.exit(0);

                   }

           }




           if(e.getSource()==b3)

           {

                   System.exit(0);

           }

    }

    public static void main(String s[])

    {

           passw obj = new passw();

           obj.setSize(300,300);

           obj.setVisible(true);

    }

}
ADMINUP.JAVA-

import java.awt.*;

import java.awt.event.*;

import javax.swing.*;

import java.sql.*;




public class adminup extends JFrame implements ActionListener

{

       JButton b1,b2,b3,b4,b5,b6,b7,b8;

       JComboBox j1,J2;

       JTextField t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11;

       JLabel l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l12,l13;

       String id=null,name1="NO EMPLOYEE EXIST";

       String name,phone,add,sal,pos,age,sex,nat,home,exp;

       String err="EMPLOYEE NOT FOUND, PLEASE ENTER CORRECT ID";

       adminup()

       {

               b1 = new JButton("Show Details");

               b2 = new JButton("Remove");

               b3 = new JButton("Update Phone");

               b4 = new JButton("Update Address");

               b5 = new JButton("Update Salary");

               b6 = new JButton("update Position");
b7 = new JButton("Update Experience");

b8 = new JButton("Back");

j1 = new JComboBox();

t1 = new JTextField(10);

t2 = new JTextField(10);

t3 = new JTextField(10);

t4 = new JTextField(10);

t5 = new JTextField(10);

t6 = new JTextField(10);

t7 = new JTextField(10);

t8 = new JTextField(10);

t9 = new JTextField(10);

t10 = new JTextField(10);

t11 = new JTextField(10);

l12 = new JLabel();

l1 = new JLabel("Emp_Id");

l2 = new JLabel("EMP_Name");

l3 = new JLabel("Emp_Phone");

l4 = new JLabel("Emp_Address");

l5 = new JLabel("Emp_Salary");

l6 = new JLabel("Emp_Position");

l7 = new JLabel("Emp_Age");

l8 = new JLabel("Emp_Sex");
l9 = new JLabel("Emp_Nationality");

l10 = new JLabel("Emp_Hometown");

l11 = new JLabel("Emp_Exp");

l13 = new JLabel();




b1.addActionListener(this);

b2.addActionListener(this);

b3.addActionListener(this);

b4.addActionListener(this);

b5.addActionListener(this);

b6.addActionListener(this);

b7.addActionListener(this);

b8.addActionListener(this);




setLayout(new GridLayout(21,1));




try

{

       Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con =
DriverManager.getConnection("Jdbc:Odbc:DSN1");

                   ResultSet rs = null;

                   PreparedStatement st = con.prepareStatement("Select * from
emp1");

                   rs= st.executeQuery();

                   while(rs.next())

                   {

                          j1.addItem(rs.getString(2));




                   }

                   add(l1);

                   add(t1);

                   add(l2);

                   add(j1);

                   add(l3);

                   add(t3);




                   add(l4);

                   add(t4);

                   add(l5);

                   add(t5);

                   add(l6);
add(t6);

add(l7);

add(t7);

add(l8);

add(t8);

add(l9);

add(t9);

add(l10);

add(t10);

add(l11);

add(t11);

add(l12);

add(l13);

add(b1);

add(b2);

add(b3);

add(b4);

add(b5);

add(b6);

add(b7);

add(b8);
st.close();




             }

             catch(Exception ae)

             {

                    System.out.print(ae);

             }

      }

      public void actionPerformed(ActionEvent e)

      {




             try

             {

                    int tempid,tempsal,tempage;;

                    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

                    Connection con1 =
DriverManager.getConnection("Jdbc:Odbc:DSN1");

                    ResultSet rs1= null;




                    if(e.getSource()==b1)

                    {

                            name= j1.getSelectedItem().toString();
PreparedStatement st1 = con1.prepareStatement("Select
* from emp1 where Emp_Name=?");

                        st1.setString(1,name);

                        rs1= st1.executeQuery();

                        while(rs1.next())

                        {

                                  id=rs1.getString(1);

                                  phone=rs1.getString(3);

                                  add=rs1.getString(4);

                                  sal=rs1.getString(5);

                                  pos=rs1.getString(6);

                                  age=rs1.getString(7);

                                  sex=rs1.getString(8);

                                  nat=rs1.getString(9);

                                  home=rs1.getString(10);

                                  exp=rs1.getString(11);




                        }

                        t1.setText(id);




                        t3.setText(phone);

                        t4.setText(add);
t5.setText(sal);

                          t6.setText(pos);

                          t7.setText(age);

                          t8.setText(sex);

                          t9.setText(nat);

                          t10.setText(home);

                          t11.setText(exp);




                          st1.close();




                   }

                   if(e.getSource()==b2)

                   {

                          id = t1.getText();

                          tempid= Integer.parseInt(id);

                          PreparedStatement st2 = con1.prepareStatement("Delete
from emp1 where Emp_Id=?");

                          st2.setInt(1,tempid);

                          int rec= st2.executeUpdate();

                          l13.setText(rec + "Record Removed");

                          st2.close();
}

                   if(e.getSource()==b3)

                   {

                          id = t1.getText();

                          tempid = Integer.parseInt(id);

                          phone = t3.getText();

                          PreparedStatement st3 =
con1.prepareStatement("Update emp1 set Emp_Phone=? where Emp_Id=?");




                          st3.setString(1,phone);

                          st3.setInt(2,tempid);

                          int rec1 = st3.executeUpdate();

                          l13.setText(rec1 + " Record Updated");

                          st3.close();




                   }

                   if(e.getSource()==b4)

                   {

                          id = t1.getText();

                          tempid = Integer.parseInt(id);

                          add = t4.getText();

                          PreparedStatement st4 =
con1.prepareStatement("Update emp1 set Emp_Add=? where Emp_Id=?");
st4.setString(1,add);

                           st4.setInt(2,tempid);

                           int rec1 = st4.executeUpdate();

                           l13.setText(rec1 + " Record Updated");

                           st4.close();

                    }

                    if(e.getSource()==b5)

                    {

                           id = t1.getText();

                           tempid = Integer.parseInt(id);

                           sal = t5.getText();

                           PreparedStatement st5 =
con1.prepareStatement("Update emp1 set Emp_Salary=? where Emp_Id=?");




                           st5.setString(1,sal);

                           st5.setInt(2,tempid);

                           int rec1 = st5.executeUpdate();

                           l13.setText(rec1 + " Record Updated");

                           st5.close();

                    }

                    if(e.getSource()==b6)

                    {
id = t1.getText();

                           tempid = Integer.parseInt(id);

                           pos = t6.getText();

                           PreparedStatement st6 =
con1.prepareStatement("Update emp1 set Emp_Position=? where Emp_Id=?");




                           st6.setString(1,pos);

                           st6.setInt(2,tempid);

                           int rec1 = st6.executeUpdate();

                           l13.setText(rec1 + " Record Updated");

                           st6.close();

                    }

                    if(e.getSource()==b7)

                    {

                           id = t1.getText();

                           tempid = Integer.parseInt(id);

                           exp = t11.getText();

                           PreparedStatement st7 =
con1.prepareStatement("Update emp1 set Emp_Exp=? where Emp_Id=?");




                           st7.setString(1,exp);

                           st7.setInt(2,tempid);

                           int rec1 = st7.executeUpdate();
l13.setText(rec1 + " Record Updated");

                           st7.close();

                   }

                   if(e.getSource()==b8)

                   {

                           admini obj1 = new admini();

                           obj1.setSize(800,500);

                           obj1.setVisible(true);

                   }

           }

           catch(Exception ae)

           {




                   System.out.print(ae);

           }

    }

    public static void main(String s[])

    {

           adminup obj = new adminup();

           obj.setSize(800,400);

           obj.setVisible(true);

    }

}
ADMINNEW.JAVA-




import java.awt.*;

import java.awt.event.*;

import java.sql.*;

import javax.swing.*;




public class adminnew extends JFrame implements ActionListener

{

       JButton b1,b2;




       JTextField t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11;

       JLabel l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l12,l13;

       String id= null;

       String name,phone,add,fee,course,age,sex,year,home,regs no;




       adminnew()

       {

               b1 = new JButton("ADD");

               b2 = new JButton("Cancel");
t1 = new JTextField(10);

t2 = new JTextField(10);

t3 = new JTextField(10);

t4 = new JTextField(10);

t5 = new JTextField(10);

t6 = new JTextField(10);

t7 = new JTextField(10);

t8 = new JTextField(10);

t9 = new JTextField(10);

t10 = new JTextField(10);

t11 = new JTextField(10);

l12 = new JLabel();

l13 = new JLabel();

l2 = new JLabel("Student_Name");

l3 = new JLabel("Student_Phone");

l4 = new JLabel("Student_Address");

l5 = new JLabel("Student_Fee");

l6 = new JLabel("Student_Course");

l7 = new JLabel("Student_Age");

l8 = new JLabel("Student_Sex");

l9 = new JLabel("Student_Year");
l10 = new JLabel("Student_Hometown");

l11 = new JLabel("Student_Regs no");




add(l2);

add(t2);

add(l3);

add(t3);




add(l4);

add(t4);

add(l5);

add(t5);

add(l6);

add(t6);

add(l7);

add(t7);

add(l8);

add(t8);

add(l9);

add(t9);

add(l10);

add(t10);

add(l11);
add(t11);

              add(l12);

              add(l13);

              add(b1);

              add(b2);




              b1.addActionListener(this);

              b2.addActionListener(this);

              setLayout(new GridLayout(21,1));

       }

       public void actionPerformed(ActionEvent e)

       {

              try

              {

                     int tempid,tempfee,tempage;

                     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

                     Connection con =
DriverManager.getConnection("Jdbc:Odbc:DSN1");

                     ResultSet rs = null;

                     PreparedStatement st = con.prepareStatement("Select * from
Student1");

                     rs= st.executeQuery();

                     while(rs.next())
{




        id = rs.getString(1);

}

st.close();

tempid = Integer.parseInt(id);

tempid = tempid+1;




if(e.getSource()==b1)

{

        name = t2.getText();

        phone = t3.getText();

        add = t4.getText();

        fee = t5.getText();

        course = t6.getText();

        age = t7.getText();

        sex = t8.getText();

        year = t9.getText();

        home = t10.getText();

        regs no= t11.getText();

        tempsal = Integer.parseInt(sal);

        tempage = Integer.parseInt(age);
PreparedStatement st1 = con.prepareStatement("Insert
into Student1 values(?,?,?,?,?,?,?,?,?,?,?)");

                                st1.setInt(1,tempid);

                                st1.setString(2,name);

                                st1.setString(3,phone);

                                st1.setString(4,add);

                                st1.setInt(5,tempfee);

                                st1.setString(6,course);

                                st1.setInt(7,tempage);

                                st1.setString(8,sex);

                                st1.setString(9,year);

                                st1.setString(10,home);

                                st1.setString(11,regs no);

                                int rec = st1.executeUpdate();

                                l12.setText(rec+" Record Added");

                                add(l12);

                                st1.close();

                        }




                        if(e.getSource()==b2)

                        {

                                admini obj1= new admini();

                                obj1.setSize(800,500);
obj1.setVisible(true);

                        }

               }

       catch(Exception ce)

               {

                        System.out.print(ce);

               }

       }

       public static void main(String s[])

       {




               adminnew obj = new adminnew();

               obj.setSize(800,500);

               obj.setVisible(true);

       }

}




ADMINI.JAVA-

import java.awt.*;

import java.awt.event.*;

import javax.swing.*;

import java.sql.*;
public class admini extends JFrame implements ActionListener

{

       JButton b1,b2,b3,b4;

       JComboBox j1,J2;

       JTextField t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11;

       JLabel l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l12;

       String id=null,name1="NO STUDENT EXIST";

       String name,phone,add,fee, course, age,sex,year,hometown,registration no.;


       String err="STUDENT NOT FOUND, PLEASE ENTER CORRECT ID";

       admini()

       {

               b1 = new JButton("Show");

               b2 = new JButton("Update");

               b3 = new JButton("New");

               b4 = new JButton("Logout");

               j1 = new JComboBox();

               t1 = new JTextField(10);

               t2 = new JTextField(10);

               t3 = new JTextField(10);

               t4 = new JTextField(10);

               t5 = new JTextField(10);
t6 = new JTextField(10);

t7 = new JTextField(10);

t8 = new JTextField(10);

t9 = new JTextField(10);

t10 = new JTextField(10);

t11 = new JTextField(10);

l12 = new JLabel();

l1 = new JLabel("Student_Id");

l2 = new JLabel("Student_Name");

l3 = new JLabel("Student_Phone");

l4 = new JLabel("Student_Address");

l5 = new JLabel("Student_Fee");

l6 = new JLabel("Student_Course");

l7 = new JLabel("Student_Age");

l8 = new JLabel("Student_Sex");

l9 = new JLabel("Student_Year");

l10 = new JLabel("Student_Hometown");

l11 = new JLabel("Student_Regs no");




b1.addActionListener(this);

b2.addActionListener(this);
b3.addActionListener(this);

              b4.addActionListener(this);

              setLayout(new GridLayout(21,1));




              try

              {

                     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

                     Connection con =
DriverManager.getConnection("Jdbc:Odbc:DSN1");

                     ResultSet rs = null;

                     PreparedStatement st = con.prepareStatement("Select * from
Student1");

                     rs= st.executeQuery();

                     while(rs.next())

                     {

                            j1.addItem(rs.getString(2));




                     }

                     add(l1);

                     add(l12);
add(l2);

add(j1);

add(l3);

add(t3);




add(l4);

add(t4);

add(l5);

add(t5);

add(l6);

add(t6);

add(l7);

add(t7);

add(l8);

add(t8);

add(l9);

add(t9);

add(l10);

add(t10);

add(l11);

add(t11);

add(b1);

add(b2);
add(b3);

                    add(b4);




                    st.close();




             }

             catch(Exception ae)

             {

                    System.out.print(ae);

             }

      }

      public void actionPerformed(ActionEvent e)

      {




             try

             {

                    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

                    Connection con1 =
DriverManager.getConnection("Jdbc:Odbc:DSN1");

                    ResultSet rs1= null;




                    if(e.getSource()==b1)

                    {
name= j1.getSelectedItem().toString();

                          PreparedStatement st1 = con1.prepareStatement("Select
* from Student1 where Student_Name=?");

                          st1.setString(1,name);

                          rs1= st1.executeQuery();

                          while(rs1.next())

                          {

                                 id=rs1.getString(1);

                                 phone=rs1.getString(3);

                                 add=rs1.getString(4);

                                 fee=rs1.getString(5);

                                 course=rs1.getString(6);

                                 age=rs1.getString(7);

                                 sex=rs1.getString(8);

                                 year=rs1.getString(9);

                                 home=rs1.getString(10);

                                 regs no=rs1.getString(11);




                          }

                          l12.setText(id);




                          t3.setText(phone);
t4.setText(add);

       t5.setText(fee);

       t6.setText(course);

       t7.setText(age);

       t8.setText(sex);

       t9.setText(year);

       t10.setText(home);

       t11.setText(regs no);




       st1.close();




}

if(e.getSource()==b2)

{

       adminup obj2 = new adminup();

       obj2.setSize(800,500);

       obj2.setVisible(true);

}




if(e.getSource()==b3)

{

       adminnew obj1 = new adminnew();
obj1.setSize(800,500);

                       obj1.setVisible(true);




               }

               if(e.getSource()==b4)

               {

                       System.exit(0);

               }




       }

       catch(Exception aee)

       {

               System.out.print(aee);

       }




}




public static void main(String s[])

{

       admini obj = new admini();

       obj.setSize(400,400);
obj.setVisible(true);

    }

}

Más contenido relacionado

La actualidad más candente

Student management system
Student management systemStudent management system
Student management systemStudent
 
Online examination documentation
Online examination documentationOnline examination documentation
Online examination documentationWakimul Alam
 
Hostel management system project report
Hostel management system project reportHostel management system project report
Hostel management system project reportSoftroniics india
 
Placement Cell project
Placement Cell projectPlacement Cell project
Placement Cell projectManish Kumar
 
Online Examination System
Online Examination SystemOnline Examination System
Online Examination SystemAnkan Banerjee
 
Hostel management system
Hostel management systemHostel management system
Hostel management systemYOGESH SHARMA
 
Students management system
Students management systemStudents management system
Students management systemKumar Rajeev
 
Student management system
Student management systemStudent management system
Student management systemAmit Gandhi
 
Library management system
Library management systemLibrary management system
Library management systemSara Malik
 
JSF Request Processing Lifecycle
JSF Request Processing LifecycleJSF Request Processing Lifecycle
JSF Request Processing LifecycleMilap Bhanderi
 
C++ student management system
C++ student management systemC++ student management system
C++ student management systemABHIJITPATRA23
 
Online examination system project ppt
Online examination system project pptOnline examination system project ppt
Online examination system project pptthirumalaikumari
 
Hostel management system
Hostel management systemHostel management system
Hostel management systemYashna Jawrani
 
Project report on online examination system
Project report on online examination systemProject report on online examination system
Project report on online examination systemMo Irshad Ansari
 
College Management System Project
College Management System ProjectCollege Management System Project
College Management System ProjectManish Kushwaha
 
School Database Management System
School Database Management SystemSchool Database Management System
School Database Management SystemHasSan Farooqi
 

La actualidad más candente (20)

Student management system
Student management systemStudent management system
Student management system
 
Student management system
Student management systemStudent management system
Student management system
 
College admission system
College admission system College admission system
College admission system
 
Online examination documentation
Online examination documentationOnline examination documentation
Online examination documentation
 
School Management System
School Management SystemSchool Management System
School Management System
 
Hostel management system project report
Hostel management system project reportHostel management system project report
Hostel management system project report
 
Online Admission System
Online Admission System  Online Admission System
Online Admission System
 
Placement Cell project
Placement Cell projectPlacement Cell project
Placement Cell project
 
Online Examination System
Online Examination SystemOnline Examination System
Online Examination System
 
Hostel management system
Hostel management systemHostel management system
Hostel management system
 
Students management system
Students management systemStudents management system
Students management system
 
Student management system
Student management systemStudent management system
Student management system
 
Library management system
Library management systemLibrary management system
Library management system
 
JSF Request Processing Lifecycle
JSF Request Processing LifecycleJSF Request Processing Lifecycle
JSF Request Processing Lifecycle
 
C++ student management system
C++ student management systemC++ student management system
C++ student management system
 
Online examination system project ppt
Online examination system project pptOnline examination system project ppt
Online examination system project ppt
 
Hostel management system
Hostel management systemHostel management system
Hostel management system
 
Project report on online examination system
Project report on online examination systemProject report on online examination system
Project report on online examination system
 
College Management System Project
College Management System ProjectCollege Management System Project
College Management System Project
 
School Database Management System
School Database Management SystemSchool Database Management System
School Database Management System
 

Destacado

Fee collection system
Fee collection systemFee collection system
Fee collection systemharryz18
 
Online Fee Management - A Change in Traditional Fee Collection System
Online Fee Management - A Change in Traditional Fee Collection SystemOnline Fee Management - A Change in Traditional Fee Collection System
Online Fee Management - A Change in Traditional Fee Collection SystemSmart Schooling
 
Automatic fee collection & receipt printing system
Automatic fee collection & receipt printing systemAutomatic fee collection & receipt printing system
Automatic fee collection & receipt printing systemApurv Modi
 
SchoolAdmin - School Fees Collection & Accounting Software
SchoolAdmin - School Fees Collection & Accounting SoftwareSchoolAdmin - School Fees Collection & Accounting Software
SchoolAdmin - School Fees Collection & Accounting SoftwareRanganath Shivaram
 
University Student Payment System ( USPS )
University Student Payment System ( USPS )University Student Payment System ( USPS )
University Student Payment System ( USPS )Md.Mojibul Hoque
 
School management system
School management systemSchool management system
School management systemasd143
 
School management system
School management systemSchool management system
School management systemSoumya Behera
 
School Management System ppt
School Management System pptSchool Management System ppt
School Management System pptMohsin Ali
 
Software requirement specification
Software requirement specificationSoftware requirement specification
Software requirement specificationAmit Gandhi
 
Mileage Based User Fee Alliance FAQ
Mileage Based User Fee Alliance FAQMileage Based User Fee Alliance FAQ
Mileage Based User Fee Alliance FAQPorts-To-Plains Blog
 
Leave managementsystem features
Leave managementsystem featuresLeave managementsystem features
Leave managementsystem featuresdpthimenon
 
Guidelines in Oral Defense
Guidelines in Oral Defense Guidelines in Oral Defense
Guidelines in Oral Defense Angelito Pera
 
School management software in Saudi Arabia
School management software in Saudi ArabiaSchool management software in Saudi Arabia
School management software in Saudi ArabiaCarie John
 
World's No. 1 School Management Information system Software
World's No. 1 School Management Information system SoftwareWorld's No. 1 School Management Information system Software
World's No. 1 School Management Information system Softwareguest2ce6683
 
Mobile number-portability
Mobile number-portabilityMobile number-portability
Mobile number-portabilityjasscheema
 
Ppt on mobile number portablity,s.y.instru,b
Ppt on mobile number portablity,s.y.instru,bPpt on mobile number portablity,s.y.instru,b
Ppt on mobile number portablity,s.y.instru,bsagarkamble816
 

Destacado (19)

Fee collection system
Fee collection systemFee collection system
Fee collection system
 
School fee management
School fee managementSchool fee management
School fee management
 
Online Fee Management - A Change in Traditional Fee Collection System
Online Fee Management - A Change in Traditional Fee Collection SystemOnline Fee Management - A Change in Traditional Fee Collection System
Online Fee Management - A Change in Traditional Fee Collection System
 
Automatic fee collection & receipt printing system
Automatic fee collection & receipt printing systemAutomatic fee collection & receipt printing system
Automatic fee collection & receipt printing system
 
SchoolAdmin - School Fees Collection & Accounting Software
SchoolAdmin - School Fees Collection & Accounting SoftwareSchoolAdmin - School Fees Collection & Accounting Software
SchoolAdmin - School Fees Collection & Accounting Software
 
University Student Payment System ( USPS )
University Student Payment System ( USPS )University Student Payment System ( USPS )
University Student Payment System ( USPS )
 
School management system
School management systemSchool management system
School management system
 
School management system
School management systemSchool management system
School management system
 
School Management System ppt
School Management System pptSchool Management System ppt
School Management System ppt
 
Software requirement specification
Software requirement specificationSoftware requirement specification
Software requirement specification
 
Palpap erp
Palpap erpPalpap erp
Palpap erp
 
EDUCATION PLUS ERP SOLUTION for Schools
EDUCATION PLUS ERP SOLUTION for SchoolsEDUCATION PLUS ERP SOLUTION for Schools
EDUCATION PLUS ERP SOLUTION for Schools
 
Mileage Based User Fee Alliance FAQ
Mileage Based User Fee Alliance FAQMileage Based User Fee Alliance FAQ
Mileage Based User Fee Alliance FAQ
 
Leave managementsystem features
Leave managementsystem featuresLeave managementsystem features
Leave managementsystem features
 
Guidelines in Oral Defense
Guidelines in Oral Defense Guidelines in Oral Defense
Guidelines in Oral Defense
 
School management software in Saudi Arabia
School management software in Saudi ArabiaSchool management software in Saudi Arabia
School management software in Saudi Arabia
 
World's No. 1 School Management Information system Software
World's No. 1 School Management Information system SoftwareWorld's No. 1 School Management Information system Software
World's No. 1 School Management Information system Software
 
Mobile number-portability
Mobile number-portabilityMobile number-portability
Mobile number-portability
 
Ppt on mobile number portablity,s.y.instru,b
Ppt on mobile number portablity,s.y.instru,bPpt on mobile number portablity,s.y.instru,b
Ppt on mobile number portablity,s.y.instru,b
 

Similar a Fee managment system

code for quiz in my sql
code for quiz  in my sql code for quiz  in my sql
code for quiz in my sql JOYITAKUNDU1
 
[PL] O klasycznej, programistycznej elegancji
[PL] O klasycznej, programistycznej elegancji[PL] O klasycznej, programistycznej elegancji
[PL] O klasycznej, programistycznej elegancjiJakub Marchwicki
 
Modul Praktek Java OOP
Modul Praktek Java OOP Modul Praktek Java OOP
Modul Praktek Java OOP Zaenal Arifin
 
Advanced Java - Practical File
Advanced Java - Practical FileAdvanced Java - Practical File
Advanced Java - Practical FileFahad Shaikh
 
Что нам готовит грядущий C#7?
Что нам готовит грядущий C#7?Что нам готовит грядущий C#7?
Что нам готовит грядущий C#7?Andrey Akinshin
 
81818088 isc-class-xii-computer-science-project-java-programs
81818088 isc-class-xii-computer-science-project-java-programs81818088 isc-class-xii-computer-science-project-java-programs
81818088 isc-class-xii-computer-science-project-java-programsAbhishek Jena
 
can you add a delete button and a add button to the below program. j.pdf
can you add a delete button and a add button to the below program. j.pdfcan you add a delete button and a add button to the below program. j.pdf
can you add a delete button and a add button to the below program. j.pdfsales88
 
JJUG CCC 2011 Spring
JJUG CCC 2011 SpringJJUG CCC 2011 Spring
JJUG CCC 2011 SpringKiyotaka Oku
 
Advanced Java Practical File
Advanced Java Practical FileAdvanced Java Practical File
Advanced Java Practical FileSoumya Behera
 
TypeScript Introduction
TypeScript IntroductionTypeScript Introduction
TypeScript IntroductionDmitry Sheiko
 
Chapter 7 functions (c)
Chapter 7 functions (c)Chapter 7 functions (c)
Chapter 7 functions (c)hhliu
 
Model-Driven Software Development - Context-Sensitive Transformation
Model-Driven Software Development - Context-Sensitive TransformationModel-Driven Software Development - Context-Sensitive Transformation
Model-Driven Software Development - Context-Sensitive TransformationEelco Visser
 
AJP Practical Questions with Solution.docx
AJP Practical Questions with Solution.docxAJP Practical Questions with Solution.docx
AJP Practical Questions with Solution.docxRenuDeshmukh5
 

Similar a Fee managment system (20)

Java File
Java FileJava File
Java File
 
662305 11
662305 11662305 11
662305 11
 
code for quiz in my sql
code for quiz  in my sql code for quiz  in my sql
code for quiz in my sql
 
[PL] O klasycznej, programistycznej elegancji
[PL] O klasycznej, programistycznej elegancji[PL] O klasycznej, programistycznej elegancji
[PL] O klasycznej, programistycznej elegancji
 
Modul Praktek Java OOP
Modul Praktek Java OOP Modul Praktek Java OOP
Modul Praktek Java OOP
 
662305 09
662305 09662305 09
662305 09
 
Advanced Java - Practical File
Advanced Java - Practical FileAdvanced Java - Practical File
Advanced Java - Practical File
 
Что нам готовит грядущий C#7?
Что нам готовит грядущий C#7?Что нам готовит грядущий C#7?
Что нам готовит грядущий C#7?
 
Awt
AwtAwt
Awt
 
java-programming.pdf
java-programming.pdfjava-programming.pdf
java-programming.pdf
 
81818088 isc-class-xii-computer-science-project-java-programs
81818088 isc-class-xii-computer-science-project-java-programs81818088 isc-class-xii-computer-science-project-java-programs
81818088 isc-class-xii-computer-science-project-java-programs
 
can you add a delete button and a add button to the below program. j.pdf
can you add a delete button and a add button to the below program. j.pdfcan you add a delete button and a add button to the below program. j.pdf
can you add a delete button and a add button to the below program. j.pdf
 
TechTalk - Dotnet
TechTalk - DotnetTechTalk - Dotnet
TechTalk - Dotnet
 
Jason parsing
Jason parsingJason parsing
Jason parsing
 
JJUG CCC 2011 Spring
JJUG CCC 2011 SpringJJUG CCC 2011 Spring
JJUG CCC 2011 Spring
 
Advanced Java Practical File
Advanced Java Practical FileAdvanced Java Practical File
Advanced Java Practical File
 
TypeScript Introduction
TypeScript IntroductionTypeScript Introduction
TypeScript Introduction
 
Chapter 7 functions (c)
Chapter 7 functions (c)Chapter 7 functions (c)
Chapter 7 functions (c)
 
Model-Driven Software Development - Context-Sensitive Transformation
Model-Driven Software Development - Context-Sensitive TransformationModel-Driven Software Development - Context-Sensitive Transformation
Model-Driven Software Development - Context-Sensitive Transformation
 
AJP Practical Questions with Solution.docx
AJP Practical Questions with Solution.docxAJP Practical Questions with Solution.docx
AJP Practical Questions with Solution.docx
 

Último

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 

Último (20)

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 

Fee managment system

  • 1. TERMPAPER Of MOdERn PROgRAMMing TOOls -1 TOPic : fEE MAnAgEMEnT sysTEM sUBMiTTEd TO – sUBMiTTEd By- MR.RAkEsh fAiRy sEc – k27B1 B.TE ch [iT]- MBA
  • 2. ROll nO - 09 Table of contents:- 1. Fee management system 2. Scope 3. Features 4. Language used 5. Overview 6. Data flow diagram 7. CODING OF THE PROJECT
  • 3. Fee management system The fee management system is to manage the data or information of the student those who have submitted their fees and those who have not submitted their fee . Scope of this project:- This can be used in the educational institutes like university , schools etc. It can also be used in companies for paying salaries to their employees . Features:- • Secure • Easy to use • Reliable and accurate • No need of examiner Technologies used:- Java Overview :
  • 4. 1. 12. Fee Setting Administrator can set different fee names settings for different classes using a simple interface. Also fee amount for different fee items for different months can be set for common fee items. Name/Class wise search Fee amount to be paid by a student is done by searching the student. By entering student Id or class or name, the amount to be paid for a particular period is viewed. 2. Monthly fee items Monthly fee items are displayed based on the monthly fee setting. For each student fee pending amount is displayed. 3. Terminal fee items Terminal fee items will be displayed based on the term selection. For each student, a period of month can also be selected for collecting terminal fees
  • 5. CODING: Main.java- import java.awt.*; import java.awt.event.*; import javax.swing.*; public class mainw extends JFrame implements ActionListener { JButton b1,b2,b3; String title= "MAIN"; mainw() { b1 = new JButton("Administrator");
  • 6. b2 = new JButton("Student"); b3 = new JButton("Exit"); add(b1); add(b2); add(b3); b1.addActionListener(this); b2.addActionListener(this); b3.addActionListener(this); setLayout(new FlowLayout()); } public void actionPerformed(ActionEvent e) { if(e.getSource()==b1) { passw obj2= new passw(); obj2.setSize(300,200); obj2.setVisible(true); }
  • 7. if(e.getSource()==b2) { student obj3 = new student(); obj3.setSize(800,500); obj3.setVisible(true); } if(e.getSource()==b3) { System.exit(0); } } public static void main(String s[]) { mainw obj = new mainw(); obj.setSize(400,400); obj.setVisible(true); } }
  • 8. Student.java import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.sql.*; public class student extends JFrame implements ActionListener { JTextField t1; JButton b1,b2; JLabel l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l12,l13,l14,l15,l16,l17,l18,l19,l20,l21,l22, l23; String id= null; String phone,add,fee,course,age,sex,year,home,regs no; String err="STUDENT NOT FOUND, PLEASE ENTER
  • 9. CORRECT ID"; employee() { t1 = new JTextField(10); l1 = new JLabel("Student_Id"); l2 = new JLabel("Student_Name"); l3 = new JLabel(); l4 = new JLabel("Student_Phone"); l5 = new JLabel(); l6 = new JLabel("Student_Address"); l7 = new JLabel(); l8 = new JLabel("Student_fee"); l9 = new JLabel(); l10 = new JLabel("Student_course"); l11 = new JLabel(); l12 = new JLabel("Student_Age"); l13 = new JLabel(); l14 = new JLabel("Student_Sex"); l15 = new JLabel(); l16 = new JLabel("Student_year"); l17 = new JLabel(); l18 = new JLabel("Student_Hometown");
  • 10. l19 = new JLabel(); l20 = new JLabel("Student_regs no"); l21 = new JLabel(); l22 = new JLabel(); l23 = new JLabel(); b1 = new JButton("Show"); b2 = new JButton("Exit"); add(l1); add(t1); add(l2); add(l3); add(l4); add(l5); add(l6); add(l7); add(l8); add(l9); add(l10); add(l11); add(l12); add(l13);
  • 11. add(l14); add(l15); add(l16); add(l17); add(l18); add(l19); add(l20); add(l21); add(l22); add(l23); add(b1); add(b2); b1.addActionListener(this); b2.addActionListener(this); setLayout(new GridLayout(13,1)); } public void actionPerformed(ActionEvent e) { try { Class.forName
  • 12. ("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection("Jdbc:Odbc:DSN1"); ResultSet rs=null; id = t1.getText(); String name="none"; if(e.getSource()==b1) { PreparedStatement st1 = con.prepareStatement("Select * from student where student_Id=?"); st1.setString(1,id); rs = st1.executeQuery(); while(rs.next()) { name=rs.getString (2); phone=rs.getString (3);
  • 13. add=rs.getString(4); fee=rs.getString(5); course=rs.getString (6); age=rs.getString(7); sex=rs.getString(8); year=rs.getString(9); home=rs.getString (10); regs no=rs.getString (11); } if(name.equals("none")) { t1.setText(""); l23.setText(""); t1.setText(""); l3.setText(""); l5.setText("");
  • 14. l7.setText(""); l9.setText(""); l11.setText(""); l13.setText(""); l15.setText(""); l17.setText(""); l19.setText(""); l21.setText(""); st1.close(); } else { t1.setText(id); l3.setText(name); l5.setText(phone); l7.setText(add); l9.setText(fee); l11.setText(course); l13.setText(age); l15.setText(sex); l17.setText(year); l19.setText(home);
  • 15. l21.setText(regs no); l23.setText("Showing details"); st1.close(); } } if(e.getSource()==b2) { System.exit(0); } rs.close(); con.close(); } catch(Exception as) { System.out.print(as); } }
  • 16. public static void main(String s[]) { Student obj = new student(); obj.setSize(800,400); obj.setVisible(true); } } PASSW.JAVA- import java.awt.*; import java.awt.event.*; import javax.swing.*; public class passw extends JFrame implements ActionListener { JButton b1,b2,b3; JLabel l1,l2,l3,l4;
  • 17. JTextField t1; TextField t2; String pasw,us; String password="csb", usid ="uptu"; int count=3; passw() { t1 = new JTextField(10); t2 = new TextField(10); l1 = new JLabel("User ID"); l2 = new JLabel("Password"); b1 = new JButton("Login"); b2 = new JButton("Change Password"); b3 = new JButton("Cancel"); t2.setEchoChar('*'); add(l1); add(t1); add(l2); add(t2);; add(b1); add(b2);
  • 18. add(b3); b1.addActionListener(this); b2.addActionListener(this); b3.addActionListener(this); setLayout(new GridLayout(7,1)); } public void actionPerformed(ActionEvent e) { if(e.getSource()==b1) { us = t1.getText(); pasw = t2.getText(); if(count>0&& password.equals(pasw)&& usid.equals(us)) { admini obj2= new admini(); obj2.setSize(800,500); obj2.setVisible(true); }
  • 19. else { count= count-1; if(count==0) System.exit(0); } } if(e.getSource()==b3) { System.exit(0); } } public static void main(String s[]) { passw obj = new passw(); obj.setSize(300,300); obj.setVisible(true); } }
  • 20. ADMINUP.JAVA- import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.sql.*; public class adminup extends JFrame implements ActionListener { JButton b1,b2,b3,b4,b5,b6,b7,b8; JComboBox j1,J2; JTextField t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11; JLabel l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l12,l13; String id=null,name1="NO EMPLOYEE EXIST"; String name,phone,add,sal,pos,age,sex,nat,home,exp; String err="EMPLOYEE NOT FOUND, PLEASE ENTER CORRECT ID"; adminup() { b1 = new JButton("Show Details"); b2 = new JButton("Remove"); b3 = new JButton("Update Phone"); b4 = new JButton("Update Address"); b5 = new JButton("Update Salary"); b6 = new JButton("update Position");
  • 21. b7 = new JButton("Update Experience"); b8 = new JButton("Back"); j1 = new JComboBox(); t1 = new JTextField(10); t2 = new JTextField(10); t3 = new JTextField(10); t4 = new JTextField(10); t5 = new JTextField(10); t6 = new JTextField(10); t7 = new JTextField(10); t8 = new JTextField(10); t9 = new JTextField(10); t10 = new JTextField(10); t11 = new JTextField(10); l12 = new JLabel(); l1 = new JLabel("Emp_Id"); l2 = new JLabel("EMP_Name"); l3 = new JLabel("Emp_Phone"); l4 = new JLabel("Emp_Address"); l5 = new JLabel("Emp_Salary"); l6 = new JLabel("Emp_Position"); l7 = new JLabel("Emp_Age"); l8 = new JLabel("Emp_Sex");
  • 22. l9 = new JLabel("Emp_Nationality"); l10 = new JLabel("Emp_Hometown"); l11 = new JLabel("Emp_Exp"); l13 = new JLabel(); b1.addActionListener(this); b2.addActionListener(this); b3.addActionListener(this); b4.addActionListener(this); b5.addActionListener(this); b6.addActionListener(this); b7.addActionListener(this); b8.addActionListener(this); setLayout(new GridLayout(21,1)); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
  • 23. Connection con = DriverManager.getConnection("Jdbc:Odbc:DSN1"); ResultSet rs = null; PreparedStatement st = con.prepareStatement("Select * from emp1"); rs= st.executeQuery(); while(rs.next()) { j1.addItem(rs.getString(2)); } add(l1); add(t1); add(l2); add(j1); add(l3); add(t3); add(l4); add(t4); add(l5); add(t5); add(l6);
  • 25. st.close(); } catch(Exception ae) { System.out.print(ae); } } public void actionPerformed(ActionEvent e) { try { int tempid,tempsal,tempage;; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con1 = DriverManager.getConnection("Jdbc:Odbc:DSN1"); ResultSet rs1= null; if(e.getSource()==b1) { name= j1.getSelectedItem().toString();
  • 26. PreparedStatement st1 = con1.prepareStatement("Select * from emp1 where Emp_Name=?"); st1.setString(1,name); rs1= st1.executeQuery(); while(rs1.next()) { id=rs1.getString(1); phone=rs1.getString(3); add=rs1.getString(4); sal=rs1.getString(5); pos=rs1.getString(6); age=rs1.getString(7); sex=rs1.getString(8); nat=rs1.getString(9); home=rs1.getString(10); exp=rs1.getString(11); } t1.setText(id); t3.setText(phone); t4.setText(add);
  • 27. t5.setText(sal); t6.setText(pos); t7.setText(age); t8.setText(sex); t9.setText(nat); t10.setText(home); t11.setText(exp); st1.close(); } if(e.getSource()==b2) { id = t1.getText(); tempid= Integer.parseInt(id); PreparedStatement st2 = con1.prepareStatement("Delete from emp1 where Emp_Id=?"); st2.setInt(1,tempid); int rec= st2.executeUpdate(); l13.setText(rec + "Record Removed"); st2.close();
  • 28. } if(e.getSource()==b3) { id = t1.getText(); tempid = Integer.parseInt(id); phone = t3.getText(); PreparedStatement st3 = con1.prepareStatement("Update emp1 set Emp_Phone=? where Emp_Id=?"); st3.setString(1,phone); st3.setInt(2,tempid); int rec1 = st3.executeUpdate(); l13.setText(rec1 + " Record Updated"); st3.close(); } if(e.getSource()==b4) { id = t1.getText(); tempid = Integer.parseInt(id); add = t4.getText(); PreparedStatement st4 = con1.prepareStatement("Update emp1 set Emp_Add=? where Emp_Id=?");
  • 29. st4.setString(1,add); st4.setInt(2,tempid); int rec1 = st4.executeUpdate(); l13.setText(rec1 + " Record Updated"); st4.close(); } if(e.getSource()==b5) { id = t1.getText(); tempid = Integer.parseInt(id); sal = t5.getText(); PreparedStatement st5 = con1.prepareStatement("Update emp1 set Emp_Salary=? where Emp_Id=?"); st5.setString(1,sal); st5.setInt(2,tempid); int rec1 = st5.executeUpdate(); l13.setText(rec1 + " Record Updated"); st5.close(); } if(e.getSource()==b6) {
  • 30. id = t1.getText(); tempid = Integer.parseInt(id); pos = t6.getText(); PreparedStatement st6 = con1.prepareStatement("Update emp1 set Emp_Position=? where Emp_Id=?"); st6.setString(1,pos); st6.setInt(2,tempid); int rec1 = st6.executeUpdate(); l13.setText(rec1 + " Record Updated"); st6.close(); } if(e.getSource()==b7) { id = t1.getText(); tempid = Integer.parseInt(id); exp = t11.getText(); PreparedStatement st7 = con1.prepareStatement("Update emp1 set Emp_Exp=? where Emp_Id=?"); st7.setString(1,exp); st7.setInt(2,tempid); int rec1 = st7.executeUpdate();
  • 31. l13.setText(rec1 + " Record Updated"); st7.close(); } if(e.getSource()==b8) { admini obj1 = new admini(); obj1.setSize(800,500); obj1.setVisible(true); } } catch(Exception ae) { System.out.print(ae); } } public static void main(String s[]) { adminup obj = new adminup(); obj.setSize(800,400); obj.setVisible(true); } }
  • 32. ADMINNEW.JAVA- import java.awt.*; import java.awt.event.*; import java.sql.*; import javax.swing.*; public class adminnew extends JFrame implements ActionListener { JButton b1,b2; JTextField t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11; JLabel l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l12,l13; String id= null; String name,phone,add,fee,course,age,sex,year,home,regs no; adminnew() { b1 = new JButton("ADD"); b2 = new JButton("Cancel");
  • 33. t1 = new JTextField(10); t2 = new JTextField(10); t3 = new JTextField(10); t4 = new JTextField(10); t5 = new JTextField(10); t6 = new JTextField(10); t7 = new JTextField(10); t8 = new JTextField(10); t9 = new JTextField(10); t10 = new JTextField(10); t11 = new JTextField(10); l12 = new JLabel(); l13 = new JLabel(); l2 = new JLabel("Student_Name"); l3 = new JLabel("Student_Phone"); l4 = new JLabel("Student_Address"); l5 = new JLabel("Student_Fee"); l6 = new JLabel("Student_Course"); l7 = new JLabel("Student_Age"); l8 = new JLabel("Student_Sex"); l9 = new JLabel("Student_Year");
  • 34. l10 = new JLabel("Student_Hometown"); l11 = new JLabel("Student_Regs no"); add(l2); add(t2); add(l3); add(t3); add(l4); add(t4); add(l5); add(t5); add(l6); add(t6); add(l7); add(t7); add(l8); add(t8); add(l9); add(t9); add(l10); add(t10); add(l11);
  • 35. add(t11); add(l12); add(l13); add(b1); add(b2); b1.addActionListener(this); b2.addActionListener(this); setLayout(new GridLayout(21,1)); } public void actionPerformed(ActionEvent e) { try { int tempid,tempfee,tempage; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection("Jdbc:Odbc:DSN1"); ResultSet rs = null; PreparedStatement st = con.prepareStatement("Select * from Student1"); rs= st.executeQuery(); while(rs.next())
  • 36. { id = rs.getString(1); } st.close(); tempid = Integer.parseInt(id); tempid = tempid+1; if(e.getSource()==b1) { name = t2.getText(); phone = t3.getText(); add = t4.getText(); fee = t5.getText(); course = t6.getText(); age = t7.getText(); sex = t8.getText(); year = t9.getText(); home = t10.getText(); regs no= t11.getText(); tempsal = Integer.parseInt(sal); tempage = Integer.parseInt(age);
  • 37. PreparedStatement st1 = con.prepareStatement("Insert into Student1 values(?,?,?,?,?,?,?,?,?,?,?)"); st1.setInt(1,tempid); st1.setString(2,name); st1.setString(3,phone); st1.setString(4,add); st1.setInt(5,tempfee); st1.setString(6,course); st1.setInt(7,tempage); st1.setString(8,sex); st1.setString(9,year); st1.setString(10,home); st1.setString(11,regs no); int rec = st1.executeUpdate(); l12.setText(rec+" Record Added"); add(l12); st1.close(); } if(e.getSource()==b2) { admini obj1= new admini(); obj1.setSize(800,500);
  • 38. obj1.setVisible(true); } } catch(Exception ce) { System.out.print(ce); } } public static void main(String s[]) { adminnew obj = new adminnew(); obj.setSize(800,500); obj.setVisible(true); } } ADMINI.JAVA- import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.sql.*;
  • 39. public class admini extends JFrame implements ActionListener { JButton b1,b2,b3,b4; JComboBox j1,J2; JTextField t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11; JLabel l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l12; String id=null,name1="NO STUDENT EXIST"; String name,phone,add,fee, course, age,sex,year,hometown,registration no.; String err="STUDENT NOT FOUND, PLEASE ENTER CORRECT ID"; admini() { b1 = new JButton("Show"); b2 = new JButton("Update"); b3 = new JButton("New"); b4 = new JButton("Logout"); j1 = new JComboBox(); t1 = new JTextField(10); t2 = new JTextField(10); t3 = new JTextField(10); t4 = new JTextField(10); t5 = new JTextField(10);
  • 40. t6 = new JTextField(10); t7 = new JTextField(10); t8 = new JTextField(10); t9 = new JTextField(10); t10 = new JTextField(10); t11 = new JTextField(10); l12 = new JLabel(); l1 = new JLabel("Student_Id"); l2 = new JLabel("Student_Name"); l3 = new JLabel("Student_Phone"); l4 = new JLabel("Student_Address"); l5 = new JLabel("Student_Fee"); l6 = new JLabel("Student_Course"); l7 = new JLabel("Student_Age"); l8 = new JLabel("Student_Sex"); l9 = new JLabel("Student_Year"); l10 = new JLabel("Student_Hometown"); l11 = new JLabel("Student_Regs no"); b1.addActionListener(this); b2.addActionListener(this);
  • 41. b3.addActionListener(this); b4.addActionListener(this); setLayout(new GridLayout(21,1)); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection("Jdbc:Odbc:DSN1"); ResultSet rs = null; PreparedStatement st = con.prepareStatement("Select * from Student1"); rs= st.executeQuery(); while(rs.next()) { j1.addItem(rs.getString(2)); } add(l1); add(l12);
  • 43. add(b3); add(b4); st.close(); } catch(Exception ae) { System.out.print(ae); } } public void actionPerformed(ActionEvent e) { try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con1 = DriverManager.getConnection("Jdbc:Odbc:DSN1"); ResultSet rs1= null; if(e.getSource()==b1) {
  • 44. name= j1.getSelectedItem().toString(); PreparedStatement st1 = con1.prepareStatement("Select * from Student1 where Student_Name=?"); st1.setString(1,name); rs1= st1.executeQuery(); while(rs1.next()) { id=rs1.getString(1); phone=rs1.getString(3); add=rs1.getString(4); fee=rs1.getString(5); course=rs1.getString(6); age=rs1.getString(7); sex=rs1.getString(8); year=rs1.getString(9); home=rs1.getString(10); regs no=rs1.getString(11); } l12.setText(id); t3.setText(phone);
  • 45. t4.setText(add); t5.setText(fee); t6.setText(course); t7.setText(age); t8.setText(sex); t9.setText(year); t10.setText(home); t11.setText(regs no); st1.close(); } if(e.getSource()==b2) { adminup obj2 = new adminup(); obj2.setSize(800,500); obj2.setVisible(true); } if(e.getSource()==b3) { adminnew obj1 = new adminnew();
  • 46. obj1.setSize(800,500); obj1.setVisible(true); } if(e.getSource()==b4) { System.exit(0); } } catch(Exception aee) { System.out.print(aee); } } public static void main(String s[]) { admini obj = new admini(); obj.setSize(400,400);