I'm making this quiz for my class and I want to know the best way to do it. The quiz involves putting image icons onto a panel on the screen and the user picking the answer via JButton. Simple right? Well, I'm not sure which way I should do it? Should I do an array of IconImages (if there is such a thing) and an array of the answers (with e.getSource) or should I just make objects? I was also wondering how I would make the image appear on the screen (I am using a BorderLayout, and I want my images to be center). I just want a simple 5-10 question quiz, no random and no points. You either get through it all at once, or you "blackout".
Thank you so much.
If this is in the wrong section, could you kindly point out the right one? I'm new, but I think this question does not belong in the new section.