Originally posted by Alex McCormick:
Let's say I'm building a simple card game like war.
...quite a statement!
JLabels *do* support images, with or without text. You could also use
ImageIcon class, though some people prefer JLabel in certain cases.
IMHO, you're doing the the right thing. If you needed to dynamically generate or alter an image, you would probably have to go to Graphics, but it sounds like you just need to display the images you have.
As a general rule, maintenance-wise, and performance-wise, it is almost always better to use the
Java classes when you can.
hth