This is a Java Swing application. To specify the source point on a grid area, click the left mouse button, click the right button of the mouse to determine the target point, and then press the "enter" key from the keyboard to get inputs. Then it calculates the shortest path and displays it in the GUI.
- Java Development Kit (OpenJDK) >= 18.0.1.1
- All OSes: click here for installation instructions
- Clone this repo.
- Make a build directory in the top level directory:
mkdir out - Copy sources files into output directory:
cp src/*.java out - Go to output directory and compile:
cd out - Compile:
javac *.java && jar cfe App.jar Main *.class - Run it:
java -jar App.jar.
