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");