Changed the algorithm to use a constant update rate instead of Swing. This way I can illustrate the pathfinding with an draw/update algorithm rather than forcing the Swing GUI to update on each loop. (Better updating chain...)

Drawing the GUI in OpenGL...

Right mouse button to add walls
Left mouse button to remove walls

Spacebar to start the simulation. You can restart the simulation with spacebar after the path has been drawn.

You can add/remove walkable tiles during the simulation.

Important ToDo:
------------------------
- Own PriorityQueue
- Own ArrayList
- Stress test with big labyrinths


ToDo:
------------------------
- Method to change between heuristic methods.
- Remove path when clicking one of the mouse buttons when finished
- Destroy methods for the OpenGL stuff (no memory leaks)
- More heuristic methods
- Test different data structures for improving the pathfinding
- Better method of generating walls