This is the pathfinder which I coded. It draws waypoints and by clicking the destination button it can convert the waypoint into a destination.
The problem is that once the point is changed into a destination it will not be redrawn. This is because the data is stored in a new arraylist and the function for redrawing the shapes only refers to the arraylist containing the waypoints.
this problem will be addressed and fixed later.