The program still 'compiles' for me, but it does output some warnings. Perhaps a PR is in order....?
javac *.java -Xlint
APathfinding.java:466: warning: [rawtypes] found raw type: ArrayList
public void reverse(ArrayList list) {
^
missing type arguments for generic class ArrayList<E>
where E is a type-variable:
E extends Object declared in class ArrayList
APathfinding.java:472: warning: [unchecked] unchecked call to add(int,E) as a member of the raw type ArrayList
list.add(i, list.get(j - 1));
^
where E is a type-variable:
E extends Object declared in class ArrayList
APathfinding.java:474: warning: [unchecked] unchecked call to add(int,E) as a member of the raw type ArrayList
list.add(j, temp);
^
where E is a type-variable:
E extends Object declared in class ArrayList
Frame.java:31: warning: [serial] serializable class Frame has no definition of serialVersionUID
public class Frame extends JPanel
^
ControlHandler.java:206: warning: [cast] redundant cast to int
(int)((frame.getHeight()/2)-70),
^
5 warnings