For my project, I have to have the same thing (lable, picture, 2 buttons) 3 different time and so it was suggested to make a separate class that extends JPanel, write the code for 1 and then call it 3 times.
I am NOT getting any errors, just lack of results.
(I have all correct imports)
Then in my driver class I call
I have a label in my driver class that I add to body at PAGE_END and it shows up. So obviously, my error is within ImagePanel, but i'm extremely confused.
posted 3 years ago
After almost an hour of googling... I found someone with a similar problem and what solved it is that I had to put at the end of my ImagePanel class.