/Flight-Track-App

This program simulates the flights between the major capitals, such as Baku, Amsterdam, Cape Town, Canberra, Ottawa and so on around the world. All the needed explanations are given in the README file and codes as comment lines.

Primary LanguageJava

Flight Track Application

This program simulates the flights between the major capitals, such as Baku, Amsterdam, Cape Town, Canberra, Ottawa and so on around the world.

System

The system includes 10 routes between 5 major capitals from different continents as default. The user could also add new capitals as well as new destinations to the system. In addition to that, the user could delete and update existing destinations via the GUI. Besides, the user could declare the flight details, such as the weekdays, the departure and arrival times, the aircraft model, the flight number and the name of the airlines.

The system has a system date, and one second in the system represents one minute in the real life. User is able to start, pause, resume and stop the time of your system. The scheduled flights is going to be simulated regarding to the system time.

The system also has a control tower which can manipulate the flights.More clearly, 10 minutes before the time of landing of the aircraft, a request will pop up on the screen and user (same as a control tower here) can reject or approve the flight.

It also should be noted that 1 second in the system is equal to 1 minute in real life.

Details

The program is written considering the event-driven programming techniques. The user would use the GUI for running the defined modules. There is only one user, who would be in charge of all system activities. The main activities are given as follows:

  • Add/Delete/Update capitals
  • Add/Delete/Update flight information
  • Set some delay for a specific flight or cancel a certain flight in a given airport
  • Make the flights, which are close enough to a given airport, wait and then give them permission for landing
  • Report the information (scheduled arrival/departure time, take off and landing time, delay, date, flight number, the name of the airlines, the departure and the arrival city), for each taking off and landing into the file (FlightTrackApp_18011903.txt).
  • Start, pause, resume and stop the system time.

(Coded in Eclipse with WindowBuilder)

Several Screenshots

1

2

3

4