0

I am trying to create a basic pac man clone but whenever I export my project as a runnable jar file the images (pac man and ghosts) disappear.

Here is the code I use to load the images (one example given) if you need anything else feel free to ask.

Thank you in advance!

Image pacmanImage = Toolkit.getDefaultToolkit().getImage("img/pacman.jpg"); 
Andrey Belykh
  • 2,578
  • 4
  • 32
  • 46
Jindra
  • 1
  • 1
  • 1
  • 2

0 Answers0