Created a ResourceLoader class to get the path to the images:
public class ResourceLoader { static ResourceLoader rl = new ResourceLoader(); public static Image getImage(String fileName){ return Toolkit.getDefaultToolkit().getImage(rl.getClass().getResource("images/" + fileName)); } } How do you get the same path for wav files from the sounds folder?
"images/"to"sounds/"not suitable? - Streletz