Created attachment 91 [details] Screenshot of the map in the software with display error Problem description: The positions of the arrowheads in the map are inaccurate. It looks like the coordinates of the arrowheads are transformed. Step to reproduce: 1. Edit the starting point and the destination point with appropriate integers in Map.java. 2. Run Main.java. Actual result: As shown in the attachment, the red arrowheads are displayed on the wrong coordinates, when the black lines are well connected and the black passing spots are shown. Expected result: The red arrowheads are displayed on the correct coordinates, which are at the end of each line and pointing at the right angle.
We understand the problem and we released version Demo 1.1, in which the function paintComponent() in Map.java is revised and updated. The display error is caused by some logical errors in the part of arrowheads' coordinate calculations, translation, and transformation. We change the calculation method and now the arrowheads should display at a correct position on the map. For more information, we sent you an email for you to compare the changed details of the new version with the earlier released version of our software.