Re: how do i put an image as a background on a JFrame?



apoullakkos@xxxxxxxxxxxxxx wrote:
Most of those talk for JPanels instead. Sorry but I'm a newbie as you
can tell...

I tried a few but they didn't work. Anyway I'll give it another shot
and probs post my code again later if nothing works.

Thanks anyway

The JPanel is your friend. It is a container, very useful to help with component layout, it's easy to draw images or drawings on, it's easy to size, you can put a border on it, it's the universal component. Take a look at my web site for some examples of drawing images, they use JPanels too.

www.knutejohnson.com

--

Knute Johnson
email s/nospam/knute/
.