Thanks a lot Norm that cleared up my issue :-D
Type: Posts; User: Pusillus
Thanks a lot Norm that cleared up my issue :-D
My problem is that the image doesn't show, when I run the program, all I get is an empty window.
edit:
I moved it so I read my image outside the paintComponent, but it still doesn't show.
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:
package terninggui;
...