Lokesh Project Edited
Lokesh Project Edited
N.Anand: 167Y1A05C4
of
Mrs.Sandhya Rani
Assistant Professor
(Affiliated to JNTU-H, Approved by AICTE New Delhi and Accredited by NBA & NAAC With ‘A’ Grade)
October 2021
This is to certify that the project report titled “Online House Rental System” is being
Semester Computer Science & Engineering is a record bonafide work carried out by him.
The results embodied in this report have not been submitted to any other University for the
I hereby declare that the Major Project Report entitled, “Online House Rental System”
submitted for the B.Tech degree is entirely my work and all ideas and references have been
truly acknowledged. It does not contain any work for the award of any other degree.
Date:
(187Y1A05E2) (167Y1A05C4)
I would like to thank Mr. Abdul Basith Khateeb, Assoc. Professor and Head, Department
of Computer Science and Engineering, Marri Laxman Reddy Institute of Technology &
Management, for having provided the freedom to use all the facilities available in the
department, especially the laboratories and the library.
I am very grateful to my project guide Mrs Sandhya Rani, Assist. Prof., Department of
Computer Science and Engineering, Marri Laxman Reddy Institute of Technology &
Management, for his extensive patience and guidance throughout my project work.
I sincerely thank my seniors and all the teaching and non-teaching staff of the Department
of Computer Science for their timely suggestions, healthy criticism and motivation during
the course of this work.
I would also like to thank my classmates for always being there whenever I needed help or
moral support. With great respect and obedience, I thank my parents and brother who were
the backbone behind my deeds.
Finally, I express my immense gratitude with pleasure to the other individuals who have
either directly or indirectly contributed to my need at right time for the development and
success of this work.
ABSTRACT i
LIST OF FIGURES ii
1 INTRODUCTION 1
1.1 Introduction 1
1.2 Scope 2
2 ANALYSIS 5
2.2 Proposed 7
2.3 Scope 7
2.6 Constraints 10
2.7 Conclusion 10
3 DESIGN 10
4.1 Implementation 22
4.2 Coding 22
5 LIST OF IMAGES 36
5.3 Payment 37
8 REFERENCES 45
Online Rental House Web Portal is an internet portal dedicated to meet every aspect of the
consumers needs in the Real Estate industry. It is a forum where Property Owners and
Tenants can exchange information, quickly, effectively and inexpensively. It features
commercial and residential properties for sale rent and lease the fore properties, rates,
locations, property news and also major events and happenings in the genre are the highlights
of this portal.
This system provides information for both tenant and house owner about the type of property
which the tenant is looking for and the type of property which the owner is having. It includes
renter, house owner, house, location, locations which are having renting houses. This system
can be extended by providing features such as e-mailingnotifications.
The Rental Management System is Searching in Based on the Apartment Paying Guest,
Office, House in metropolitan cities. The Rental Management System is Based on the Owners
and the Customers. The Owner is updated on the Apartment, Office details, House, Paying
Guest details. The Customer is details about the Room space, Room rent and the Address
Details also. The Rental Management System is best Suitable the owners because time save
and the only contact and the eligible person and there is no need to explain the room details
on the speak. The Rental Management System is best application in the city place The
customer contact and the easily search and the suitable place of Apartment, Office, PG,
House and based the Money, Limit Person is based on the suitable house. The Rental
Management System is save the time also. The Rental Management System is used to easily
identify the suitable place in Save time, cost also. The Rental Management System is best
way to search the house, Apartment office, Paying Guest. Hence this system is best
applicable for the above reasons making House rental an easy process through an online
system Acknowledgement At the beginning I am very much grateful to almighty God for
giving me strength and opportunity and sound mind to complete the House Rental
Managementreport.
1 Class Diagram 12
3 Sequence Diagram 13
4 Activity Diagram 14
5.1 Summary 35
IT : Information Technology
CS : Computer Science
1.1 INTRODUCTION:
We are stuck with technology when what we really want is just stuff that works. With the
current paradigm shift in technological field, there is an urgent need to embrace and
appreciate the power of technology. Housing sector remains vigilant to face the challenges of
change by employing a new strategy that facilitates easy management of rental houses. Hence
there is need to develop a House rental Project. The Home Rental System is Searching in
Based on the Apartment House for rent in metropolitan cities. The Home Rental System is
Based on the Owners and the Customers. The Owner is updated on the Apartment details, and
rent details. The Customer is details about the Room space, Room rent and the Address
Details also. The Home Rental System is best Suitable the owners because time save and the
only contact and the eligible person and there is no need to explain the room details on the
speak. The Home Rental System is best application in the city place. The customer contact
and the easily search and the suitable place of House and based the Money, Limit Person is
based on the suitable house. The Home Rental System is save the time also. The Rental
Management System is used to easily identify the suitable place in Save time, cost also.
Hence this system is best applicable for the above reasons making House rental an easy
process through an online system.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 1
1.2 FUTURE AND SCOPE:
With the increasing population across the country it becomes very difficult to provide home
for everyone. According to the Census of India 2011, out of the 90 million residential census
units, 11 million units are vacant; that is 12% of the total urban housing stock consists of
vacant houses.
Few factors bring an urge for online rental management. These are:
b) If the aim is to build millions of new housing units, clearly, lands is scarce.
Rental housing can be a significant proportion of housing supply. Rental yields (rent as a
share of property price) are the returns a property owner can get on her investment and hence
play an important part in deciding the economic viability of investing in rental housing.
Rental yields in India are typically very low. As the number of land acquisition increases
there are more and more household building being constructed with only one thing lacking
i.e., proper ,management of these rentals so that every landlords can get a trusted tenant
without the fear of evading rents and maintaining record of every tenant without the potential
risk of losing these data.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 2
1.3 Existing Systems:
In the existing system there is no centralized system. In the present system the user need to go
manually visit each and every house in city for required house. If any new persons enter into
our City. If they require any room they need to search in whole city because they don’t know
where it is available or not.
Economic feasibility
Time Flexibility
Technical feasibility
User-friendly interface
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 3
1.4 Organization Report:
In this project documentation we have initially put the definition and objective of the project
as well as the design of the project which is followed by the implementation and testing
phases. The project has been concluded successfully and the future enhancements of the
project also given in this documentation.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 4
2. ANALYSIS:
The key considerations are involved in the feasibility analysis are: Economic, Technical,
Legal, Operational and Behavioral feasibility.
Economic Feasibility:
Economic analysis is the most frequently used method for evaluating the effectiveness of a
proposed system. It is more commonly known as cost benefit analysis, the procedure to
determine the benefits and saving that are expected from a candidate system and compare
them with costs. If the benefits outweigh costs then a decision is made to design and
implement the system. Otherwise make alterations in the proposed system.
The innovation of the new system has much influence on the economical side of the
company. Manual system is highly cost driven due to the high labor costs.
Technical Feasibility:
In examining Technical feasibility of the system, more importance is given to the hardware
interaction part of the system. In OLES Permission to the users would be granted based on the
roles specified. Therefore, it provides the technical guarantee of accuracy, reliability and
security. OLE does not require any addition hardware or software. Since the interface for this
system is developed using the existing resources and technologies available at NIC, there is
nominal expenditure and feasibility for certain.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 5
Legal Feasibility:
People are inherently resistant to change, and computers have been known to facilitate
change. An estimate should be made about the reaction of the user staff towards the
development of a computerized system. Computer installations have something to do with
turnover, transfers and changes in job status. The introduction of a candidate system requires
special effort to educate, sell and train the staff for conducting the business. The system is
designed such that even a computer ignorant person can easily interact with the system.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 6
Operational Feasibility:
Proposed projects are beneficial only if they can be turned out into information system. That
will meet the organization’s operating requirements. Operational feasibility aspects of the
project are to be taken as an important part of the project implementation.
Some of the important issues raised are to test the operational feasibility of a project includes
the following:
Will the system be used and work properly if it is being developed and implemented? Will
there be any resistance from the user that will undermine the possible application benefits?
Behavioral Feasibility:
People are inherently resistant to change and computer has been knownto facilitate changes.
An estimate should be made of how strong the user is likely to move towards the
development of fully computerized system. These are various levels of users in order to
ensure proper authentication, authorization and security of sensitive data of the organization.
Administrators are responsible for management of system users, tests, results and system
backup etc.
2.2 Proposed:
The main objective of the Online House Rental System is that it helps Real estate brokers and
corporate world to search for the house at reasonable price, in an automated manner. It
reduces the time consumption and workload that exist in the current system of searching. It
also helps in storing the record of each house details and the owner details are also stored in
the system. This makes the searching of the records easier than the existing system.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 7
2.3 Scope:
OLES can be used in corporate world. The system handles all the operations and generates
receipt as soon as the registration is completed and saves the precious time of tenants spent on
searching for house. The tenants can login through the client computers with their login id.
Every Owner can get a trusted tenant without the fear of evading rents and maintaining record
of every tenant without the potential risk of losing these data.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 8
2.4 Software Requirements:
Operating System
Front End
Back End
SQL
Browser
Pentium-IV(Processor).
256 MB Ram
2.6 Constraints:
Graphical user interface is only in English.
Enrolment ID and password is used for identification of user and there is no facility for guest.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 9
2.7 Conclusion:
In this phase, we understand the software requirement specifications for the system. We
arrange all the required components to develop the projection this phase itself so that we will
have a clear idea regarding the requirements before designing the project. Thus, we will
proceed to the design phase followed by the implementation phase of the project.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 10
3. DESIGN:
Class Diagram:
Class diagram in the UML is a type of static structure diagram that describes the structure of a
system by showing the system's classes, their attributes, and the relationships between the
classes. It is the main building block in object-oriented modelling. It is being used both for
general conceptual modeling of the systematic of the application, and for detailed modelling
translating the models into programming code.
The classes in a class diagram represent both the main objects and interactions in the
application and the objects to be programmed. In the class diagram these classes are
represented with boxes which contain 3 parts:
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 11
Fig-1: Class Diagram
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 12
Use Case Diagram:
Use case diagram in the Unified Modeling Language (UML) is a type of behavioral diagram
defined by and created from a Use-case analysis. Its purpose is to present a graphical
overview of the functionality provided by a system in terms of actors, their goals (represented
as use cases), and any dependencies between those use cases.
Its main purpose is to show what system functions are performed for which actor. Roles of
the actors in the system can be depicted.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 13
Sequence Diagram:
Sequence diagrams document the interactions between classes to achieve a result, such as a use case.
Because UML is designed for object-oriented programming, these communications between classes are
known as messages. The Sequence diagram lists objects horizontally, and time vertically, and models
Notation
In a Sequence diagram, classes and actors are listed as columns, with vertical lifelines indicating the lifetime
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM14
Activity Diagram:
An activity diagram is a behavioral diagram i.e. it depicts the behavior of a system. An activity diagram
portrays the control flow from a start point to a finish point showing the various decision paths that exist
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM15
3.2 Data Flow Diagrams:
A data flow diagram is graphical tool used to describe and analyze movement of data through a system. These
are the central tool and the basis from which the other components are developed. The transformation of data
from input to output, through processed, may be described logically and independently of physical
components associated with the system. These are known as the logical data flow diagrams. The physical data
flow diagrams show the actual implements and movement of data between people, departments and
workstations. A full description of a system actually consists of a set of data flow diagrams.
Using two familiar notations Yourdon, Gane and Sarson notation develops the data flow diagrams. Each
component in a DFD is labeled with a descriptive name. Process is further identified with a number that will be
used for identification purpose. The development of DFD’S is done in several levels.
Each process in lower level diagrams can be broken down into a more detailed DFD in the next level. The
lop-level diagram is often called context diagram. It consists a single process bit, which plays vital role in
studying the current system. The process in the context level diagram is exploded into other process at the
The idea behind the explosion of a process into more process is that understanding at one level of detail is
exploded into greater detail at the next level. This is done until further explosion is necessary and an adequate
amount of detail is described for analyst to understand the process.
Larry Constantine first developed the DFD as a way of expressing system requirements in a graphical from,
this lead to the modular design.
A DFD is also known as a “bubble Chart” has the purpose of clarifying system requirements and identifying
major transformations that will become programs in system design. So it is the starting point of the design to
the lowest level of detail. A DFD consists of a series of bubbles joined by data flows in the system.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM16
Symbols:
In the DFD, there are four symbols
2.An arrow identifies data flow. It is the pipeline through which the information flows
3.Circle or a bubble represents a process that transforms incoming data flow into outgoing data flows.
4.An open rectangle is a data store, data at rest or a temporary repository of data
Data flow
Data Store
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM17
Constructing a DFD:
1. Process should be named and numbered for an easy reference. Each name should be representative
of the process.
2. The direction of flow is from top to bottom and from left to right. Data traditionally flow from source
to the destination although they may flow back to the source. One way to indicate this is to draw long
flow line back to a source. An alternative way is to repeat the source symbol as a destination. Since it
is used more than once in the DFD it is marked with a short diagonal.
3. When a process is exploded into lower level details, they are numbered.
4. The names of data stores and destinations are written in capital letters. Process and data flow names
have the first letter of each work capitalized.
A DFD typically shows the minimum contents of data store. Each data store should contain all the data
elements that flow in and out.
5. Data Flow:
1) A Data Flow has only one direction of flow between symbols. It may flow in both directions between a
process and a data store to show a read before an update. The later is usually indicated however by two
separate arrows since these happen at different type.
2) A join in DFD means that exactly the same data comes from any of two or more different processes
data store or sink to a common location.
3) A data flow cannot go directly back to the same process it leads. There must be at least one other
process that handles the data flow produce some other data flow returns the original data into the
beginning process.
4) A Data flow to a data store means update (delete or change).
5) A data Flow from a data store means retrieve or use.
A data flow has a noun phrase label more than one data flow noun phrase can appear on a single arrow as long
as all of the flows on the same arrow move together as one package.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM18
Context Level DFD:
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM19
3.3 Module Design ofSystem:
Owner can register in the system so that he can upload the house information
Tenant can register so that he can check with the house information which was posted by own.
Tenant:
Tenant will be checking all the houses and the requesting for the houses. In this module contains the
information about the tenant.
Document:
Tenant should create one PDF for each type of document you are required to upload. Tenant full name
Payment:
Payment status: View payment status and easily detects which tenant has paid, not paid and have balance.
Booking:
Search houses location: they will search about feasible lands and placement in their budget.
Tenant History:
Shows the information and description of the tenants, bills.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM20
Payment History:
Provides the searching facilities based on various factors. Such as bills, transaction history, transaction
, payment.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM21
4. IMPLEMENTATION &CODING:
4.1 Implementation:
Implementation is the stage where the theoretical design is turned into a working system. The
most crucial stage in achieving a new successful system and in giving confidence on the new
system for the users that it will work efficiently and effectively.
The system can be implemented only after thorough testing is done and if it is found to work
according to the specification.
It involves careful planning, investigation of the current system and its constraints on
implementation, design of methods to achieve the change-over and an evaluation of change
over methods a part from planning. Two major tasks of preparing the implementation are
education and training of the users and testing of the system.
The more complex the system being implemented, the more involved will be the systems
analysis and design effort required just for implementation.
The implementation phase comprises of several activities. The required hardware and
software acquisition is carried out. The system may require some software to be developed.
For this, programs are written and tested. The user then changes over to his new fully tested
system and the old system is discontinued
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 22
Coding:
package landlord.tenent.management.system;
import Project.ConnectionProvider;
import java.awt.print.PrinterException;
import java.sql.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import net.proteanit.sql.DbUtils;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author heart
*/
public class paymentInformation extends javax.swing.JFrame {
public int flag=0;
/**
* Creates new form paymentInformation
*/
public paymentInformation() {
initComponents();
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 23
jTable1 = new javax.swing.JTable();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
jComboBox1 = new javax.swing.JComboBox<>();
jTextField4 = new javax.swing.JTextField();
jButton2 = new javax.swing.JButton();
jButton3 = new javax.swing.JButton();
jLabel5 = new javax.swing.JLabel();
jTextField2 = new javax.swing.JTextField();
jLabel6 = new javax.swing.JLabel();
jTextField3 = new javax.swing.JTextField();
jLabel7 = new javax.swing.JLabel();
jTextField5 = new javax.swing.JTextField();
jButton4 = new javax.swing.JButton();
jLabel9 = new javax.swing.JLabel();
jLabel10 = new javax.swing.JLabel();
jScrollPane2 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
jButton5 = new javax.swing.JButton();
jLabel2 = new javax.swing.JLabel();
jLabel8 = new javax.swing.JLabel();
jDateChooser1 = new com.toedter.calendar.JDateChooser();
jLabel12 = new javax.swing.JLabel();
jSeparator1 = new javax.swing.JSeparator();
jSeparator2 = new javax.swing.JSeparator();
jLabel13 = new javax.swing.JLabel();
jLabel11 = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setLocation(new java.awt.Point(320, 90));
setUndecorated(true);
setPreferredSize(new java.awt.Dimension(1600, 990));
addComponentListener(new java.awt.event.ComponentAdapter() {
public void componentShown(java.awt.event.ComponentEvent evt) {
formComponentShown(evt);
}
});
getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 24
});
getContentPane().add(jTextField1, new
org.netbeans.lib.awtextra.AbsoluteConstraints(720, 30, 190, 40));
jTable1.setBorder(new javax.swing.border.MatteBorder(null));
jTable1.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
jTable1.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{null, null, null, null}
},
new String [] {
"Title 1", "Title 2", "Title 3", "Title 4"
}
));
jScrollPane1.setViewportView(jTable1);
getContentPane().add(jScrollPane1, new
org.netbeans.lib.awtextra.AbsoluteConstraints(10, 100, 1580, 80));
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 25
});
getContentPane().add(jComboBox1, new
org.netbeans.lib.awtextra.AbsoluteConstraints(400, 340, 240, 40));
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 26
});
getContentPane().add(jTextField2, new
org.netbeans.lib.awtextra.AbsoluteConstraints(400, 500, 240, 40));
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 27
jLabel10.setText("Reciept no");
getContentPane().add(jLabel10, new
org.netbeans.lib.awtextra.AbsoluteConstraints(90, 250, 190, 40));
jTextArea1.setColumns(20);
jTextArea1.setFont(new java.awt.Font("Mongolian Baiti", 1, 18)); // NOI18N
jTextArea1.setRows(5);
jScrollPane2.setViewportView(jTextArea1);
getContentPane().add(jScrollPane2, new
org.netbeans.lib.awtextra.AbsoluteConstraints(1000, 260, 440, 530));
jLabel8.setText(" ");
getContentPane().add(jLabel8, new
org.netbeans.lib.awtextra.AbsoluteConstraints(1147, 689, 153, 258));
jDateChooser1.setDateFormatString("yyyy-MM-dd");
getContentPane().add(jDateChooser1, new
org.netbeans.lib.awtextra.AbsoluteConstraints(530, 260, -1, 30));
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 28
getContentPane().add(jSeparator2, new
org.netbeans.lib.awtextra.AbsoluteConstraints(810, 230, 50, 750));
jLabel11.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/landlord/tenent/management/system/light
green bg2.png"))); // NOI18N
jLabel11.setText(" ");
getContentPane().add(jLabel11, new
org.netbeans.lib.awtextra.AbsoluteConstraints(-8, 0, 1610, 980));
pack();
}// </editor-fold>
// code for search button
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
String flatno=jTextField1.getText();
try
{
Connection con=ConnectionProvider.getCon();
Statement st=con.createStatement();
ResultSet rs=st.executeQuery("select * from
tenent where flatno='" + flatno + "';" );
// JOptionPane.showMessageDialog(null, "!!!
database connected !!!");
jTable1.setModel(DbUtils.resultSetToTableModel(rs));
/* if(!rs.first())
jLabel2.setVisible(true);
else
{
jLabel2.setVisible(false);
jTextField1.setEditable(false);
flag=1;
}
*/
}
catch(Exception e)
{
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 29
private void jTextField4ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}
// code for close button
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
setVisible(false); // TODO add your
handling code here:
}
String gas_bill=jTextField3.getText();
int gas_bill1=Integer.parseInt(gas_bill);
String rent=jTextField4.getText();
int rent1=Integer.parseInt(rent);
String maintanance=jTextField5.getText();
int maintanance1=Integer.parseInt(maintanance);
int payable_amount;
payable_amount=(int)
((electricity_bill1+gas_bill1+rent1+maintanance1)+(electricity_bill1+gas_bill1+rent1+mainta
nance1)*0.05);
jLabel13.setText(" "+payable_amount);
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"************************************************* \n");
jTextArea1.setText(jTextArea1.getText()+ "
RENT RECIEPT SYSTEM \n");
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 30
jTextArea1.setText(jTextArea1.getText()+
"************************************************** \n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"RECIEPT NO "+rno+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+"
DATE "+sqldate+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"FLAT NO " +flatno+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"MONTHLY RENT " +rent1+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"ELECTRICITY BILL "+ electricity_bill1+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"GAS BILL " +gas_bill1+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"MAINTANANCE CHARGE "+maintanance1+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"TOATAL AMOUNT "+payable_amount+ "\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"************** THANKING YOU **************");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+
"\n");
jTextArea1.setText(jTextArea1.getText()+ "
signature");
if(jButton4.isSelected())
{
jLabel13.setVisible(true);
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 31
}
}
catch (Exception e)
{
JOptionPane.showMessageDialog(this,"
Enter data in correct Format");
}
java.util.Date date=jDateChooser1.getDate();
String rno=jLabel12.getText();
String flatno=jTextField1.getText();
String month = (String) jComboBox1.getSelectedItem();
String electricity_bill=jTextField2.getText();
int electricity_bill1=Integer.parseInt(electricity_bill);
String gas_bill=jTextField3.getText();
int gas_bill1=Integer.parseInt(gas_bill);
String rent=jTextField4.getText();
int rent1=Integer.parseInt(rent);
String maintanance=jTextField5.getText();
int maintanance1=Integer.parseInt(maintanance);
int payable_amount;
payable_amount=(int)
((electricity_bill1+gas_bill1+rent1+maintanance1)+(electricity_bill1+gas_bill1+rent1+mainta
nance1)*0.05);
jLabel13.setText(" "+payable_amount);
try {
Connection con =
ConnectionProvider.getCon();
Statement st = con.createStatement();
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 32
st.executeUpdate("insert into rent values('"
+rno+ "','" + month + "','" + electricity_bill + "','" + gas_bill + "','" +rent + "','" + maintanance
+ "','" + payable_amount + "','" + flatno + "','" + date + "')");
JOptionPane.showMessageDialog(null,
"Successfully Inserted");
setVisible(false);
new
paymentInformation().setVisible(true);
}
catch (Exception e)
{
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 33
id=id+1;
String str=String.valueOf(id);
jLabel12.setText(str);
}
else
jLabel12.setText("1");
} catch (Exception e) {
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional)
">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look
and feel.
* For details see
http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info :
javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(paymentInformation.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(paymentInformation.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(paymentInformation.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 34
java.util.logging.Logger.getLogger(paymentInformation.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
}
//</editor-fold>
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 35
5. LIST OFIMAGES
Figure 1
Payment
Figure 2
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 36
Update Records
Figure 3
Full History
Figure 4
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 37
Add Document
Figure 5
Booked Flats
Figure 6
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 38
Delete Tenant
Figure 7
Add Tenant
Figure 8
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 39
Rules
Figure 9
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 40
5.TESTING
Testing is a process of executing a program with the intent of finding an error. Testing is a
crucial element of software quality assurance and presents ultimate review of specification,
design and coding.
System Testing is an important phase. Testing represents an interesting anomaly for the
software. Thus, a series of testing are performed for the proposed system before the system is
ready for user acceptance testing.
A good test case is one that has a high probability of finding an as undiscovered error. A
successful test is one that uncovers an as undiscovered error.
A good test case is one that has a probability of finding an as yet undiscovered error.
All tests should be traceable to end user requirements Tests should be planned long before
testing begins
Testing should begin on a small scale and progress towards testing in large Exhaustive testing
is not possible
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 41
The primary objective for test case design is to derive a set of tests that has the highest
livelihood for uncovering defects in software. To accomplish this objective two different
categories of testcase design techniques are used.They are:
White-box testing:
Block-box testing:
Black box testing is designed to validate functional requirements without regard to the
internal workings of a program. Black box testing mainly focuses on the information domain
of the software, deriving test cases by partitioning input and output in a manner that provides
through test coverage. Incorrect and missing functions, interface errors, errors in data
structures, error in functional logic are the errors falling in this category.
A strategy for software testing must accommodate low-level tests that are necessary to verify
that all small source code segment has been correctly implemented as well as high-level tests
that validate major system functions against customer requirements.
Testing is a process of executing program with the intent of finding error. A good testcase is
one that has high probability of finding an undiscovered error. If testing is conducted
succesfully it uncovers the errors in the software. Testing cannot show the absence of defects,
it can only show that software defects present.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 42
5.5 Testing Information flow:
Information flow for testing flows the pattern. Two class of input provided to test the process.
The software configuration includes a software requirements specification, a design
specification and source code.
Test configuration includes test plan and test cases and test tools. Tests are conducted and all
the results are evaluated. That is test results are compared with expected results. When
erroneous data are uncovered, an error is implied and debugging commences.
Unit testing:
Unit testing is essential for the verification of the code produced during the coding phase and
hence the goal is to test the internal logic of the modules. Using the detailed design
description as a guide, important paths are tested to uncover errors with in the boundary of the
modules. These tests were carried out during the programming stage itself. All units of
ViennaSQL were successfully tested.
Integration testing:
Integration testing focuses on unit tested modules and build the program structure that is
dictated by the design phase.
System testing:
System testing tests the integration of each module in the system. It also tests to find
discrepancies between the system and it is original objective, current specification and system
documentation. The primary concern is the compatibility of individual modules. Entire
system is working properly or not will be tested here, and specified path ODBC connection
will correct or not, and giving output or not are tested here these verifications and validations
are done by giving input values to the system and by comparing with expected output.
Top-down testing implementing here
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 43
Acceptance Testing:
This testing is done to verify the readiness of the system for the implementation. Acceptance
testing begins when the system is complete. Its purpose is to provide the end user with the
confidence that the system is ready for use. It involves planning and execution of functional
tests, performance tests and stress tests in order to demonstrate that the implemented system
satisfies its requirements.
Test coverage Analyzer–records the control paths followed for each testcase.
Timing Analyzer – also called a profiler, reports the time spent in various regions of the code
areas to concentrate on to improve system performance.
Coding standards – static analyzers and standard checkers are used to inspect code for
deviations from standards and guidelines.
Test Cases:
Test cases are derived to ensure that all statements in the program have been executed at least
once during testing and that all logical conditions have been executed. Using White-Box
testing methods, the software engineer can drive test cases that
Guarantee that logical decisions on their true and false sides. Exercise all logical decisions on
their true and false sides.
Execute all loops at their boundaries and with-in their operational bounds. Exercise internal
data structure to assure their validity.
The test case specification for system testing has to be submitted for review before system
testing commences.
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 44
Test Case Table:
MINIPROJECTREPORT(2018-2022Batch) Dept.ofCSE,MLRITM 45
6. CONCLUSION & FUTURE ENHANCEMENTS
The package was designed in such a way that future modifications can be done easily. The
following conclusions can be deduced from the development of the project.
MINIPROJECTREPORT(2017-2021Batch) Dept.ofCSE,MLRITM 45
5
7. REFERENCES:
FOR SQL:
www.msdn.microsoft.com
FOR NET BEANS INSTALLATION:
Apache NetBeans Releases
FOR PGADMIN INSTALLATION:
Download (pgadmin.org)
BOOKS REFERRED:
• AG98
Ken Arnold and James Gosling, The Java Programming Language,
second ed., Addison-Wesley, 1998.
• Chan98
Patrick Chan, The Java Developers Almanac, Addison-Wesley, 1998.
• Englander97
Robert Englander, Developing Java Beans, O'Reilly, 1997.
• GJS96
James Gosling and Bill Joy and Guy Steele, The Java Language
Specification, Addison-Wesley, 1996.
MINIPROJECTREPORT(2017-2021Batch) Dept.ofCSE,MLRITM 45
5