I'm making a dice program that will displace a random image of a dice between 1 and 6, my problem is displaying and image in my program.
Here's my GUI source code:
And here's my main method source code:
I've got my image in my source folder as seen in this screen shot
Also worth noting in this screen shot is that the image name is in orange instead of blue, as if it's just a text, I don't how much it matters, but it's one of the things worth noting.
Thanks for reading my post, and I hope you can help, and I apologize for the danish in the source code, this is just ment to be a "training" project for me