Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 2.09 KB

README.md

File metadata and controls

64 lines (43 loc) · 2.09 KB

Fast Flight (Java Application)

Welcome to Fast Flight! This Java application uses Dijkstra's algorithm to find and demonstrate the shortest path between countries on an interactive map using JavaFX and Gluon Maps.

Built on the Gluon starter template, this application uses OpenStreetMap tiles in JavaFX. You can find it here: Gluon Starter.

Run the project on JVM/HotSpot:

  • mvn gluonfx:run
  • or manually from Maven >> Plugins >> gluonfx:run

Key Features for Users

  • Finds and displays the shortest path between selected countries.
  • Enhances user experience with smooth animation and simple abstract UI.
  • Displays shortest path information: Distance and the path taken between the selected countries.
  • Displays a map containing the entire flight path from source to destination countries.

For Developers

  • Dijkstra's Algorithm:

    • Efficiently calculates the shortest path in a weighted graph.
    • Visualization of the algorithm's output step-by-step on the map.
  • JavaFX and Gluon Maps Integration:

    • Uses JavaFX for the user interface and interactive elements.

Basic Requirements

A list of the basic requirements can be found online in the Gluon documentation.

Selected features

This is a list of all the features that were selected when creating the sample:

JavaFX 21 Modules

  • javafx-base
  • javafx-graphics
  • javafx-controls

Gluon Features

  • Maps: cross-device map interfacing

App Screenshots

App Main Interface



main.png


Displaying Shortest Path Details



details.png

Displaying the Path on Map



map.png

Short Demo

Watch App Demo