This is a Java based UI desktop application is primarily focused on helping
airline companies book flights and manage different aspects of their
business like aircrafts (commercial and cargo), employees,
passengers, flights (commercial and cargo), bookings,
and Served airports.
- Adding, removing, updating, and viewing data.
- Automatic saving of data into .txt files every 20 seconds, and loading the data when the application starts again.
- Search bar for querying data records using unique attributes.
- Java version: JDK 25.
- Swing Library: On Intellij IDEA Download the "Swing UI Designer"" plugin to edit GUI components(.form files).
-
Main class: The
AirlineManagementSystemclass contains the entry point for the application. -
Classes:
Aircraft(Abstract)CommercialAircraft(Concrete)CargoAircraft(Concrete)
Flight(Abstract)CommercialFlight(Concrete)CargoFlight(Concrete)
FlightInstance(Abstract)CommercialFlightInstance(Concrete)CargoFlightInstance(Concrete)
Person(Abstract)Passenger(Concrete)Employee(Abstract)Pilot(Concrete)FlightAttendant(Concrete)
Airport(Concrete)Country(Concrete)City(Concrete)Language(Concrete)Cabin(Concrete)Seat(Concrete)Fare(Concrete)Booking(Concrete)Manufacturer(Concrete)Model(Concrete)AircraftType(Enum)FlightInstanceType(Enum)FlightType(Enum)SubmitAction(Enum)
-
Compositions :
Country>CityManufacturer>ModelCommercialAircraft>Cabin>SeatCommercialFlight>CommercialFlightInstance>FareCargoFlight>CargoFlightInstancePassenger>booking
-
UI Classes: Each of these classes contain a panel and have a dedicated .form file:
AirlineManagementSystem(Entry point)AircraftsAirportsCargoAircraftsCargoFlightsCommercialAircraftsCommercialFlightsCountriesEmployeesFlightAttendantsFlightsLanguagesMainMenuManufacturersPassengersPilots
-
Data files: Each concrete class have a .txt files. Each Abstract parent classes have a text file (except for the
Employeeclass). These files are located in the project's main directory.
- Clone the project to your machine.
- Open the project using an IDE.
- Navigate to the AirlineManagementSystem.java file.
- Find the main method and run the file from there.