Thanks for the wonderful little gem!
I'm doing a map on a JPanel and have implemented a grid on top of it with special UI. However the paintLayer() is not called when I drag the underlying map and is only called when I release the mouse.
Why is this?
Right now I'm trying to hack a solution on the mouse_dragged event and want to call the paintLayer() on every such event. But How can I grab a Graphics2D to call the event?
Any help is appreciated!