Need help to code this in java and add commnets so i can know what is going on. Please make sure you include everything listed.
Need help to code this in java and add commnets so i can know what is going on. Please make sure you include everything listed. I will rate you.Thank you.
Develop a JavaFX application for an Airline Reservation System. The airline manages the information of several flights. The information of each flight consists of the following: flight number flight Date departure time arrival time departure city destination city number of available seats The passenger seat reservation information consists of the following: passenger ID number (Driver License ID, passport ID, or ID) passenger name seat number flight number
A file named "flights.txt contains the information of all flights of the airline. The file is stored in the format shown below [Figure 1]. Flight# EDate DTime Alime DepartCity DestCity AvailableSeats AA1150 AA1230 AA1140 20Dec1S 23:00 02:00 FORT WAYNE ORLANDO 5Nov15 11:30 14:00 BLACKSBURG BOCA RATON 4Jan15 07:00 11:00 SEATTEL 70 25 42 PHONEIX Figure 1. Contents of flights.txt (fields are separated by Tabs, not spaces) Another file named "reservations.txt contains the information of all passenger reservations. The file is stored in the format shown below [Figure 2]. ID 1035093287 George Eric E87427 1035027864 Sara Shafer Name Seati umb r 2A 10 4E Flight# AA1230 AA1140 AA1140 84 Tom Ed Figure 2. Contents of reservations.txt (fields are separated by Tabs, not spaces) Phase A When the application is started, it should display a Main Menu with seven items, as shown in Table 1 below A file named "flights.txt contains the information of all flights of the airline. The file is stored in the format shown below [Figure 1]. Flight# EDate DTime Alime DepartCity DestCity AvailableSeats AA1150 AA1230 AA1140 20Dec1S 23:00 02:00 FORT WAYNE ORLANDO 5Nov15 11:30 14:00 BLACKSBURG BOCA RATON 4Jan15 07:00 11:00 SEATTEL 70 25 42 PHONEIX Figure 1. Contents of flights.txt (fields are separated by Tabs, not spaces) Another file named "reservations.txt contains the information of all passenger reservations. The file is stored in the format shown below [Figure 2]. ID 1035093287 George Eric E87427 1035027864 Sara Shafer Name Seati umb r 2A 10 4E Flight# AA1230 AA1140 AA1140 84 Tom Ed Figure 2. Contents of reservations.txt (fields are separated by Tabs, not spaces) Phase A When the application is started, it should display a Main Menu with seven items, as shown in Table 1 below
Step by Step Solution
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started