SlideShare a Scribd company logo
Cab Booking
Presented By
Rahul Singodiya
Bachelor of Computer Application
Dezyne E’cole College, Ajmer
Project report on
Cab Booking
Submitted To
Dezyne E’cole College
Towards
The Partial Fulfillment
Of Second Year, Bachelor of Computer Application
By
Rahul Singodiya
Dezyne E,cole College
106/10, Civil Line, Ajmer
www.dezyneecole.com
Acknowledgment
I am Rahul Singodiya student of Bachelor of Computer Application
Dezyne E’Cole College would like to express my gratitude to each and
every person who has contributed in stimulating suggestions and
encouragement which really helped me to coordinate my project.
I also thank Dezyne E’Cole College who provided insight and expertise
that greatly assisted the project. Also, a special thanks to my teacher,
parents and colleagues who have supported me at every step.
Not to forget, the almighty who blessed me with good health because of
which I worked more efficiently and better.
Front Interface of Softwere…
CAB BOOKING
Insert Information
CAB BOOKING
Generate Bill
Source Code
import javax.swing.*;
import java.awt.*;
CAB BOOKING
import java.awt.event.*;
import java.io.*;
public class Final extends Frame implements ActionListener
{
TextField t1,t2,t3,t4,t5;
JButton b1,b2;
Label l1,l2,l3,l4,l5,l6,l7,h1;
Choice li1,li2;
public JLabel timeLabel = new JLabel(" ", JLabel.CENTER);
Final()
{
Font f1=new Font("Arial",Font.BOLD,30);
Font f2=new Font("Arial",Font.BOLD,80);
Font f3=new Font("Arial",Font.BOLD,15);
Font f4=new Font("Arial",Font.BOLD,20);
b1=new JButton("Generate Bill");
b2=new JButton("Clear"); h1=new
Label("CAB INVOICE GENRATOR");
l1=new Label("Booked By");
l2=new Label("USed By");
l3=new Label("Select City");
l4=new Label("Select Cab");
l5=new Label("KMs Used");
t1=new TextField();
t2=new TextField();
t3=new TextField();
t4=new TextField();
t5=new TextField();
setSize(1000,600);
setLayout(null); setVisible(true);
h1.setBounds(330,50,400,40);
h1.setFont(f1);
t4.setFont(f2); t5.setFont(f4);
l1.setFont(f3);
l2.setFont(f3); l3.setFont(f3);
l4.setFont(f3);
l5.setFont(f3); b1.setFont(f4);
b2.setFont(f4);
l1.setBounds(50,120,100,30); l2.setBounds(50,170,200,30);
l3.setBounds(50,220,200,30); l4.setBounds(50,270,200,30);
l5.setBounds(50,320,200,30);
t1.setBounds(250,120,200,30);
t2.setBounds(250,170,200,30);
t3.setBounds(250,320,200,30);
t4.setBounds(600,220,250,150);
t5.setBounds(600,160,250,50);
b1.setBounds(320,400,320,50);
b2.setBounds(400,470,150,50);
add(h1);
add(l1);
add(l2);
add(l3);
add(l4);
add(l5);
add(t1);
add(t2);
add(t3); add(t4);
add(t5);
add(b1); add(b2);
b1.addActionListener(this);
b2.addActionListener(this);
li1=new Choice();
li1.setBounds(250,220, 200,23);
li1.add("--Select City--");
li1.add("Ajmer");
li1.add("Jaipur");
li1.add("Kota");
li1.add("Bikaner");
li1.add("Jodhpur");
li2=new Choice();
li2.setBounds(250,270, 200,23);
li2.add("--Select Cab--");
li2.add("Ola"); li2.add("Ubar");
li2.add("Texi For Sure");
li2.add("Jugnoo ");
add(li1);
add(li2);
}
public void actionPerformed(ActionEvent e)
{
String s1=t1.getText();
String s2=t2.getText();
String s4=t4.getText(); int
s3=Integer.parseInt(t3.getText());
try
{
if(e.getSource()==b1)
{
RandomAccessFile raf=new RandomAccessFile("./cabdata.txt","rws");
raf.writeBytes("Booked By"+s1);
raf.writeBytes("Used By"+s2);
raf.writeBytes("Total KMs"+s3);
raf.writeBytes("Total Bill"+s4);
}
}
catch(Exception ee)
{}
float bill;
bill=s3*49;
t4.setText(String.valueOf(bill));
t5.setText(s2+" Your Bill is");
if(e.getSource()==b2)
{
t1.setText("");
t2.setText("");
t3.setText("");
t4.setText("");
t5.setText("");
}
}
public static void main(String args[])
{
new Final();
}
}
THANK YOU
Created By:Rahul Singodiya
Bachelor of Computer Application
Dezyne E’cole College, Ajmer

More Related Content

Similar to CAB BOOKING

Nikunj Tak ,3rd Year BCA,Project on Java Programming
Nikunj Tak ,3rd Year BCA,Project on Java ProgrammingNikunj Tak ,3rd Year BCA,Project on Java Programming
Nikunj Tak ,3rd Year BCA,Project on Java Programming
dezyneecole
 
Mansi Dagla, BCA - 3 Year
Mansi Dagla, BCA - 3 YearMansi Dagla, BCA - 3 Year
Mansi Dagla, BCA - 3 Year
dezyneecole
 
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third Year
Dezyneecole
 
Reema Agarwal , BCA Third Year
Reema Agarwal , BCA Third YearReema Agarwal , BCA Third Year
Reema Agarwal , BCA Third Year
Dezyneecole
 
BCA 2nd year C++ File
BCA 2nd year C++ FileBCA 2nd year C++ File
BCA 2nd year C++ File
Rahul Saini
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
dezyneecole
 
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third Year
Dezyneecole
 
Rahul Singodiya, BCA -3 Year
Rahul Singodiya, BCA -3 YearRahul Singodiya, BCA -3 Year
Rahul Singodiya, BCA -3 Year
dezyneecole
 
Bhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third YearBhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third Year
Dezyneecole
 
Chitransh Vasistha , BCA -3 Year
Chitransh Vasistha , BCA -3 YearChitransh Vasistha , BCA -3 Year
Chitransh Vasistha , BCA -3 Year
dezyneecole
 
Deepak Soni ,BCA Third Year
Deepak Soni ,BCA Third YearDeepak Soni ,BCA Third Year
Deepak Soni ,BCA Third Year
Dezyneecole
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
dezyneecole
 
Billing system, Supriya Deshmukh, BCA 3rd year, Dezyne E'cole College
Billing system, Supriya Deshmukh, BCA 3rd year, Dezyne E'cole CollegeBilling system, Supriya Deshmukh, BCA 3rd year, Dezyne E'cole College
Billing system, Supriya Deshmukh, BCA 3rd year, Dezyne E'cole College
Supriya Deshmukh
 
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third Year
Dezyneecole
 
Sachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third YearSachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third Year
Dezyneecole
 
Mithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third YearMithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third Year
dezyneecole
 
Sudarshan Joshi , BCA Third Year
Sudarshan Joshi , BCA Third YearSudarshan Joshi , BCA Third Year
Sudarshan Joshi , BCA Third Year
dezyneecole
 
Sachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third YearSachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third Year
Dezyneecole
 
Bhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third YearBhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third Year
Dezyneecole
 
Rahul Singodiya, BCA Second Year, Dezyne E'cole College
Rahul Singodiya, BCA Second Year, Dezyne E'cole CollegeRahul Singodiya, BCA Second Year, Dezyne E'cole College
Rahul Singodiya, BCA Second Year, Dezyne E'cole College
Dezyneecole
 

Similar to CAB BOOKING (20)

Nikunj Tak ,3rd Year BCA,Project on Java Programming
Nikunj Tak ,3rd Year BCA,Project on Java ProgrammingNikunj Tak ,3rd Year BCA,Project on Java Programming
Nikunj Tak ,3rd Year BCA,Project on Java Programming
 
Mansi Dagla, BCA - 3 Year
Mansi Dagla, BCA - 3 YearMansi Dagla, BCA - 3 Year
Mansi Dagla, BCA - 3 Year
 
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third Year
 
Reema Agarwal , BCA Third Year
Reema Agarwal , BCA Third YearReema Agarwal , BCA Third Year
Reema Agarwal , BCA Third Year
 
BCA 2nd year C++ File
BCA 2nd year C++ FileBCA 2nd year C++ File
BCA 2nd year C++ File
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
 
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third Year
 
Rahul Singodiya, BCA -3 Year
Rahul Singodiya, BCA -3 YearRahul Singodiya, BCA -3 Year
Rahul Singodiya, BCA -3 Year
 
Bhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third YearBhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third Year
 
Chitransh Vasistha , BCA -3 Year
Chitransh Vasistha , BCA -3 YearChitransh Vasistha , BCA -3 Year
Chitransh Vasistha , BCA -3 Year
 
Deepak Soni ,BCA Third Year
Deepak Soni ,BCA Third YearDeepak Soni ,BCA Third Year
Deepak Soni ,BCA Third Year
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
 
Billing system, Supriya Deshmukh, BCA 3rd year, Dezyne E'cole College
Billing system, Supriya Deshmukh, BCA 3rd year, Dezyne E'cole CollegeBilling system, Supriya Deshmukh, BCA 3rd year, Dezyne E'cole College
Billing system, Supriya Deshmukh, BCA 3rd year, Dezyne E'cole College
 
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third Year
 
Sachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third YearSachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third Year
 
Mithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third YearMithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third Year
 
Sudarshan Joshi , BCA Third Year
Sudarshan Joshi , BCA Third YearSudarshan Joshi , BCA Third Year
Sudarshan Joshi , BCA Third Year
 
Sachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third YearSachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third Year
 
Bhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third YearBhanu Pratap Singh Shekhawat, BCA Third Year
Bhanu Pratap Singh Shekhawat, BCA Third Year
 
Rahul Singodiya, BCA Second Year, Dezyne E'cole College
Rahul Singodiya, BCA Second Year, Dezyne E'cole CollegeRahul Singodiya, BCA Second Year, Dezyne E'cole College
Rahul Singodiya, BCA Second Year, Dezyne E'cole College
 

Recently uploaded

Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Undress Baby
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
aymanquadri279
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 

Recently uploaded (20)

Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 

CAB BOOKING