On my road trip, in the car, I want to work on my invulnerable chess engine, (I'll move it from my PC to my Macbook)
but my chess piece .png files are on my web-space.
How can I change a URL object to be a local file, instead?
Passing the file's location into the URL constructor doesn't work, like some pages suggested.
What actually works, without deprecated solutions?
I have working..
URL url = new URL(" http://mydomain/graphicsFile.png");
pieceImages = tk.createImage(url);
How do I do the same with a local file on a MacBook?