The "movieTicket" class represents a simple movie ticket booking system implemented using Java Swing. It allows users to book tickets, process the next ticket in the queue, and view the list of booked tickets.
- Multiple ticket queues: The system supports multiple ticket queues, allowing customers to be distributed across different queues.
- Ticket booking: Customers can book tickets by providing their name.
- Ticket processing: The system can process the next ticket in the queue, removing it from the queue and displaying the customer's name.
- Viewing booked tickets: Users can view the list of currently booked tickets across all queues.
To use the movie ticket booking system, follow these steps:
- Run the
movieTicketclass. - Enter the number of ticket queues when prompted.
- Enter the number of customers per queue when prompted.
- The main window of the application will open.
- Click on the "Book a Ticket" button to book a ticket. Enter the customer's name when prompted.
- Click on the "Process Next Ticket" button to process the next ticket in the queue.
- Click on the "Show Booked Tickets" button to view the list of currently booked tickets.
The movieTicket class relies on the Java Swing library for creating the graphical user interface.
Aman Kumar
Kanwaljot Singh
Aditya Singh