Skip to content

Java based ticket booking system featuring an interactive GUI for event selection and seat management. Built using Swing, and OOP principles like encapsulation, inheritance, and polymorphism, enabling efficient ticket handling, dynamic pricing, and streamlined user booking workflow.

Notifications You must be signed in to change notification settings

Dhruvbam/Ticket-Booking-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ticket Booking System

Alt text

The Ticket Booking System is a fully interactive, Java based application developed for the Object Oriented Programming course, designed to let users book tickets for concerts, sports, and theater events. Built with Java and Swing, it features intuitive modules for event selection, seat management, and ticket purchasing. Leveraging OOP principles such as encapsulation, inheritance, and polymorphism, the system models different event types with custom booking options and dynamic pricing. With a streamlined GUI and strong modular architecture, it demonstrates the design and implementation of practical, user centric solutions in Java.

Features & Technical Details

  • Object-Oriented Event Modeling: Utilizes encapsulation, inheritance, and polymorphism to represent different ticket types; Concert, Sports, and Theater, with unique booking options and pricing logic.
  • User-Friendly Interface: Java Swing powers a graphical interface for easy selection, booking, and ticket management. Console and GUI workflows are both supported.
  • Event Modules: Modular code structure with classes for Concert, Sports, Theater, and Ticket, streamlining event handling, pricing adjustments, and seat tracking.
  • Interactive Booking Workflow: Step-by-step user prompts for ticket type, seat, venue, and booking detail with error-checking for valid inputs.
  • Dynamic Price Adjustment: Ticket price adjusts automatically based on event type (standing, backstage, on-field) via overridden methods in each event class.
  • Seat Management: Tracks seats booked per event and displays purchased tickets for user review.
  • Scalable Foundation: Written with extensible object-oriented patterns for adding new event types and booking features easily in future versions.

Built With

  • Java Java: The core programming language used for developing the system.
  • Swing: For creating the graphical user interface (GUI) components.
  • Object-Oriented Programming (OOP): Design principles that structure the application, focusing on objects and classes.

Installation

  1. Clone the repository:
    git clone https://github.com/your-repo/online-ticket-booking-system.git
  2. Open the project in your preferred Java IDE (e.g., IntelliJ IDEA, Eclipse).
  3. Build and run the application.

Usage

  1. Launch the application.
  2. Select the type of event you wish to book (Concert, Sports, Theater).
  3. Choose your desired event, select available seats, and proceed to booking.
  4. Follow the on-screen instructions to complete your booking.

About

Java based ticket booking system featuring an interactive GUI for event selection and seat management. Built using Swing, and OOP principles like encapsulation, inheritance, and polymorphism, enabling efficient ticket handling, dynamic pricing, and streamlined user booking workflow.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages