As part of a group project during my first year at Brunel University, I contributed to the development of a flight management system called Brunel Airways. Our team utilized the waterfall methodology to create this comprehensive system, with each team member responsible for specific components. I volunteered to design and implement the seating plan module, a crucial element of the overall flight booking process.
The Brunel Airways flight management system aimed to provide a user-friendly interface for booking flights, selecting seats, and managing passenger information. My role focused on creating an interactive seating plan for two aircraft models: Boeing 747 and Airbus A318.
The seating plan allowed passengers to view available seats and make selections interactively. Each seat was represented by a button that changed color when selected, providing visual feedback to the user.
A "Random" button was implemented to automatically assign seats to passengers who preferred not to choose manually. This feature ensured a quick and effortless booking process for those who didn't have specific seating preferences.
Special accommodations were made for passengers with disabilities. The system prioritized front-row seats near exits for these individuals, ensuring easier access and comfort during the flight.
The seating plan incorporated logic to handle passengers under 13 years old, potentially limiting their seating options or requiring adult supervision.
Before finalizing the booking, passengers could review their selected seats. This feature allowed users to make any necessary changes before proceeding to the next step in the booking process.
The system was designed to store passenger details and seat assignments in a text file. This feature ensured that booking information was preserved and could be easily accessed for generating boarding passes and managing flight manifests.
The seating plan was developed using Java and incorporated various Swing components for the graphical user interface. Key classes and methods included:
B_747
class: Managed the seating layout for the Boeing 747 aircraft