I am attempting to make an image show up in my JPanel. This has worked 100% fine when I test in Eclipse, but when I export and run, I get a stack trace.
Here is how I attempt to access the file:
myPicture = ImageIO.read(Window.class.getResource("/images/audiorpglogo.png"));
And here's what I get:
java.lang.IllegalArgumentException: input == null!
at javax.imageio.ImageIO.read(ImageIO.java:1362)
at me.pogostick29.audiorpg.window.Window.<init>(Window.java:70)
at me.pogostick29.audiorpg.window.WindowManager.setup(WindowManager.java:16)
at me.pogostick29.audiorpg.AudioRPG.main(AudioRPG.java:29)