Gym Management System
Gym Management System
PROJECT REPORT
ON
D.A.V.(P.G.) COLLEGE,
MUZAFFARNAGAR 251001
DECLARATION
ANKUR
SONU KUMAR
ACKNOWLEDGEMENT
• Front Page
• College Certificate
• Declaration
• Acknowledgement
• Contents
• Preface
• System Analysis
• List of tables
• Source Code
• Snapshots (From Design)
• Implementation
• Maintenance
• Bibliography
PREFACE
Ankur
Sonu Kumar
INTRODUCTION ABOUT
THE PROJECT
GYM MANAGEMENT SYSTEM:
Simply put, gym management software is a type of
software that provides fitness businesses the functionality
needed to manage all aspects of their business and
efficiently operate their studio. Gym management
software can also be referred to as club management
software, fitness software, or gym scheduling software.
Regardless of the nomenclature, these platforms all
share similar feature sets and are used for the same
purposes. Gym management software helps fitness
owners and operators manage their class and trainer
scheduling, keep track of their members, communicate
with clients, and process payments.
• Hardware Requirements:
• Software Requirements:
FEASIBILITY STUDY:
Types of feasibility:
• Technical Feasibility
• Operational Feasibility
• Economic Feasibility
• Social feasibility
• Management Feasibility
• Legal Feasibility
• Time Feasibility
• TECHNICAL FEASIBILITY:
• OPERATIONAL FEASIBILITY
This is mainly related to human organization and
political aspects. The points to be considered are:
• What changes will be brought with the system?
• What organizational structures are disturbed?
• What new skills will be required? Do the existing
staff members have these skills?
If not, can they be trained in due course of time.
This feasibility study is carried out by a small group of
people who are familiar with the information system
techniques, who understand the parts of business that
are relevant to the project and are skilled in the system
analysis and design process. This project is not
developed just for fun. They are developed on demand
of the organization for which the system is being
developed. Therefore the chances of resistance from the
company Staff is almost nil. Any disturbance to the
organization if occurs will be advantageous to the
organization. Also the time required to carry out a
transaction will be required to a large extent, which will
make the students and others happy and cheerful. The
operators now will be able to service more students and
staff members than before in same time period. There is
no need to recruit new staff cooperate the system. The
existing staff of the company can be trained to interact
with the system, which is a GUI, based software and is
easy to use. Hence the project is Operationally feasible.
• ECONOMIC FEASIBILITY
Economic analysis is the most frequently used
technique for evaluating the effectiveness of a proposed
system. More commonly known as cost-benefit analysis,
the procedure is to determine the benefits and savings
that are expected from a proposed system and compare
them with costs. If benefits outweigh costs, a decision is
taken to design and implement the system.
• SOCIAL FEASIBILITY
It is the determination of whether a proposal project will
be acceptable to, the staff members and students, or
not. This determination typically examines the probability
of the project being accepted by the group directly
affected the proposed system change. To solve the
actual problems in a company setting, a software or a
team of engineers must incorporate a development
strategy that encompasses the process, methods, and
tools layers. This strategy is often referred to as a
software engineering paradigm. A Process model for
software engineering is chosen based on the nature of
the project and application , the methods and tools to be
used and the controls and deliverables that are required.
DATA FLOW DIAGRAMS
member table:
payment table:
INTRODUCTION TO JAVA
& SQL
Features of Java
There is given many features of java. They are also known as
java buzzwords. The Java Features given below are simple and
easy to understand.
1.Simple
According to Sun, Java language is simple because:
• syntax is based on C++ (so easier for programmers to
learn it after C++).
• removed many confusing and/or rarely-used features
e.g., explicit pointers, operator overloading etc.
• No need to remove unreferenced objects because there
is Automatic Garbage Collection in java.
2.Object-oriented
Object-oriented means we organize our software as a
combination of different types of objects that incorporates both
data and behaviour.
Object-oriented programming (OOPs) is a methodology that
simplify software development and maintenance by providing
some rules.
Basic concepts of OOPs are:
1. Object
2. Class
3. Inheritance
4. Polymorphism
5. Abstraction
6. Encapsulation
3.Platform Independent
A platform is the hardware or software environment in which a
program runs.
There are two types of platforms software-based and hardware-
based. Java provides software-based platform.
The Java platform differs from most other platforms in the sense
that it is a software-based platform that runs on the top of other
hardware-based platforms. It has two components:
1. Runtime Environment
2. API (Application Programming Interface)
• Java is object-oriented.
This allows you to create modular programs and reusable code.
• Java is platform-independent.
One of the most significant advantages of Java is its ability to
move easily from one computer system to another. The ability to
run the same program on many different systems is crucial to
World Wide Web software, and Java succeeds at this by being
platform-independent at both the source and binary levels.
Because of Java’s robustness, ease of use, cross-platform
capabilities and security features, it has become a language of
choice for providing worldwide Internet solutions.
SQL:
Home.java
import javax.swing.JOptionPane;
public class Home extends javax.swing.JFrame {
public Home() {
initComponents();
}
@SuppressWarnings("unchecked")
private void jMenu5MouseClicked(java.awt.event.MouseEvent evt) {
int a=JOptionPane.showConfirmDialog(null,"Do you really want to Logout","Select",JOptionPane.YES_NO_OPTION);
if(a==0)
{
setVisible(false);
new login().setVisible(true);
}
}
private void jMenu6MouseClicked(java.awt.event.MouseEvent evt) {
int a=JOptionPane.showConfirmDialog(null,"Do you really want to Exit","Select",JOptionPane.YES_NO_OPTION);
if(a==0)
{
System.exit(0);
}
}
private void jMenu1MouseClicked(java.awt.event.MouseEvent evt) {
new NewMember().setVisible(true);
}
private void jMenu2MouseClicked(java.awt.event.MouseEvent evt) {
new UpdateDeleteMember().setVisible(true);
}
private void jMenu3MouseClicked(java.awt.event.MouseEvent evt) {
new ListOfMembers().setVisible(true);
}
private void jMenu4MouseClicked(java.awt.event.MouseEvent evt) {
new payment().setVisible(true);
}
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Home().setVisible(true);
}
});
}
// Variables declaration - do not modify
private javax.swing.JLabel jLabel1;
private javax.swing.JMenu jMenu1;
private javax.swing.JMenu jMenu2;
private javax.swing.JMenu jMenu3;
private javax.swing.JMenu jMenu4;
private javax.swing.JMenu jMenu5;
private javax.swing.JMenu jMenu6;
private javax.swing.JMenuBar jMenuBar1;
private javax.swing.JPanel jPanel1;
// End of variables declaration
}
ConnectionProvider.java
package project;
import java.sql.*;
NewMember.java
import project.ConnectionProvider;
import java.sql.*;
import javax.swing.JOptionPane;
public class NewMember extends javax.swing.JFrame {
public NewMember() {
initComponents();
try
{
int id=1;
String str1=String.valueOf(id);
jLabel3.setText(str1);
Connection con=ConnectionProvider.getcon();
Statement st=con.createStatement();
ResultSet rs=st.executeQuery("select max(id) from member");
while(rs.next())
{
id=rs.getInt(1);
id=id+1;
String str=String.valueOf(id);
jLabel3.setText(str);
}
}
catch(Exception e)
{
JOptionPane.showMessageDialog(null, e);
}
}
@SuppressWarnings("unchecked")
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
setVisible(false);
}
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
setVisible(false);
new NewMember().setVisible(true);
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
String id=jLabel3.getText();
String name=jTextField1.getText();
String mobilenumber=jTextField2.getText();
String email=jTextField3.getText();
String gender=(String)jComboBox1.getSelectedItem();
String fathername=jTextField4.getText();
String mothername=jTextField5.getText();
String gymtime=(String)jComboBox2.getSelectedItem();
String aadharnumber=jTextField6.getText();
String age=jTextField7.getText();
String amount=jTextField8.getText();
try
{
Connection con=ConnectionProvider.getcon();
PreparedStatement ps=con.prepareStatement("insert into member values (?,?,?,?,?,?,?,?,?,?,?)");
ps.setString(1, id);
ps.setString(2, name);
ps.setString(3, mobilenumber);
ps.setString(4, email);
ps.setString(5, gender);
ps.setString(6, fathername);
ps.setString(7, mothername);
ps.setString(8, gymtime);
ps.setString(9, aadharnumber);
ps.setString(10, age);
ps.setString(11, amount);
ps.executeUpdate();
JOptionPane.showMessageDialog(null,"Successfully Saved");
setVisible(false);
new NewMember().setVisible(true);
}
catch(Exception e)
{
JOptionPane.showMessageDialog(null,e);
}
}
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new NewMember().setVisible(true);
}
});
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JComboBox<String> jComboBox1;
private javax.swing.JComboBox<String> jComboBox2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel13;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JPanel jPanel1;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
private javax.swing.JTextField jTextField4;
private javax.swing.JTextField jTextField5;
private javax.swing.JTextField jTextField6;
private javax.swing.JTextField jTextField7;
private javax.swing.JTextField jTextField8;
}
UpdateDeleteMember.java
import java.sql.*;
import javax.swing.JOptionPane;
import project.ConnectionProvider;
public class UpdateDeleteMember extends javax.swing.JFrame {
public UpdateDeleteMember() {
initComponents();
}
@SuppressWarnings("unchecked")
ListOfMembers.java
import java.sql.*;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
import project.ConnectionProvider;
public ListOfMembers() {
initComponents();
DefaultTableModel model=(DefaultTableModel)jTable1.getModel();
try
{
Connection con=ConnectionProvider.getcon();
Statement st=con.createStatement();
ResultSet rs=st.executeQuery("select *from member");
while(rs.next())
{
model.addRow(new
Object[]{rs.getString(1),rs.getString(2),rs.getString(3),rs.getString(4),rs.getString(5),rs.getString(6),rs.getString(7),rs.getString(8)
,rs.getString(9),rs.getString(10),rs.getString(11)});
}
}
catch(Exception e)
{
JOptionPane.showMessageDialog(null, e);
}
}
@SuppressWarnings("unchecked")
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new ListOfMembers().setVisible(true);
}
});
}
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new payment().setVisible(true);
}
});
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JButton jButton4;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JPanel jPanel1;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable jTable1;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
private javax.swing.JTextField jTextField4;
private javax.swing.JTextField jTextField5;
// End of variables declaration
}
SNAPSHOTS (FROM DESIGN)
LOGIN PAGE:
HOME PAGE:
ADD NEW MEMBER PAGE:
PAYMENT PAGE:
IMPLEMENTATION
INTRODUCTION:
They are:
1. Parallel systems
2. Direct conversion
3. Pilot systems
4. Systems phase-in
PARALLEL SYSTEMS:
PILOT SYSTEM:
PHASE-IN METHOD:
These are:
• Corrective Maintenance
• Adaptive Maintenance
• Perfective Maintenance
• Preventive Maintenance
CORRECTIVE MAINTENANCE:
ADAPTIVE MAINTENANCE:
PERFECTIVE MAINTENANCE:
PREVENTIVE MAINTENANCE:
CONCLUSION:
FUTURE SCOPE:
The project has a very vast scope in future. The project
can be implemented on intranet in future. Project can be
updated in near future as and when requirement for the
same arises, as it is very flexible in terms of expansion.
With the proposed software of database Space Manager
ready and fully functional the client is now able to manage
and hence run the entire work in a much better, accurate
and error free manner.
BIBLIOGRAPHY
BOOKS:
ONLINE REFERENCE:
• www.youtube.com
• www.w3schools.com
• www.wilipedia.com
• www.geeksforgeeks.com
• www.beginnersbook.com