Hi Madison,
always a nasty thing, getting these relative paths correct.
As a quick way to check whether there's anything wrong whatsoever, what I would do is to use the complete
path of the image in your ImageIcon creation.
say fullpath is a
String containing the path to your image. The easiest way to get that is to use the Windows Navigator,
or the equivalent of your OS. Go to your image, and copy the adress from the address bar. Say it is c:\myImages.
Then in your code you say:
Now, this
must work, since I cannot find anything wrong with your code.
I don't see you using any package statement, so let's leave that for now.
Greetings,
Piet