The inspiration was from the applications that airports use in order to track flights between airports in order to know which flight would arrive first so that landings could be coordinated.

What it does

Our project displays a map of the US that has a series of major locations marked. The '+' button on the upper left of the screen allows you to add a new flight between any of these major cities. This program allows for multiple flight paths at once, the movement of which can be modified with the three buttons in the bottom right (speed up/pause/slow down).

How we built it

This program was built entirely with java, with each component being objects of different classes. The images were stored in separate files and referenced as needed.

Challenges we ran into

One challenge we ran into was an issue with our path for our image files - despite trying everything, the path would not access the image. It turned out to be an issue with the IDE, and we needed to switch in order for it to work properly.

Accomplishments that we're proud of

We are proud of how this code is extremely reusable: for instance one could easily replace the background with any other country or location, and modify the Location objects so that they represented locations on that new map.

What we learned

We learned about adding images to JFrames in a way that the image can be easily moved around and changed (by creating a BufferedImage).

What's next for Flight Tracker

Next for Flight Tracker would probably be a way to interact with the JFrame in such a way that you can add a location wherever you want by simply clicking the location and entering your preferred name for it, which would simplify the process of adding locations to the map.

Built With

Share this project: